Hello Guest

Author Topic: Reference problem.  (Read 3184 times)


  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Reference problem.
« on: April 16, 2014, 09:41:20 pm »

I have 2D Toolkit and GoKit in my project and I need to make a new object from 2D toolkit in GoKit but compiler cannot find it and apparently a reference problem and I'm wondering why.

After some inspection, apparently there are 3 solutions for my Unity project and in "Assembly-Csharp" one I can see all of 2D toolkit's folders but GoKit is kinda empty and only of it's folders is present.

In the other hand, in "Assembly-Csharp-firstpass" I can see all of GoKit's but some of 2D Toolkit's.

Also please note that GoKit resides in Plugins folder but 2D toolkit is in it's own folder in root of my Assets folder.

How can I solve it?



  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Reference problem.
« Reply #1 on: April 17, 2014, 02:56:34 am »
You'll have to check how Unity handles script compilation. Things in some folders are not able to see things in other folders, eg. stuff in Standard Assets gets compiled into first pass, which can't see anything outside the folder.