Author Topic: Compiler errors right after a fresh import  (Read 2925 times)

jkamcmillen

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Compiler errors right after a fresh import
« on: February 21, 2014, 05:50:57 PM »
Sadly, I am getting these compiler errors right after buying, downloading and importing a fresh install of NGUI from the asset store.


https://www.dropbox.com/s/s15la88cxnjek3s/Screenshot%202014-02-21%2015.45.45.png

I tried to open the tutorial and example scenes, but it will not allow me to to run or test anything until I clear up these compiler issues. Suggestions?

Thanks in advance.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Compiler errors right after a fresh import
« Reply #1 on: February 21, 2014, 06:39:22 PM »
I'm guessing your project has a global class called "Direction", which conflicts with NGUI's class called Direction which resides in the ActiveAnimation namespace.

Either that, or you're using some mecanim asset that declares it, polluting the global namespace. I remember a thread on this not long ago.

jkamcmillen

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: Compiler errors right after a fresh import
« Reply #2 on: February 21, 2014, 06:58:55 PM »
Bingo! That was it. Thanks a lot! :)

The conflict was because of another kit that I had imported into the project before hand. Specifically this one. (Ultimate Match-3 Starter Kit)

Nice kit, but it's kinda new so I can see why that happened.

Works like a charm now!