|
Post by wohltaeter on Mar 30, 2016 8:21:44 GMT
Hi, since this morning I my scripts can't find the CoreGameKit anymore. using DarkTonic.CoreGameKit; is shown red in the scripts. "Type or Namesspace could not be found..."- How can I fix this? Yesterday I was updating to the newest version. Also today I updated again in hope this will fix the problem but the problem is still there.
|
|
|
Post by DarkTonic Dev on Mar 30, 2016 15:47:43 GMT
Months ago we moved the plugin to the Plugins folder, to speed up compilation times. If you upgraded from the version where they were located elsewhere without deleting the old files, Unity will keep files where they were, and this may be the problem. So please delete the following folders, if they exist, and download again.
1) Assets/DarkTonic/CoreGameKit 2) Assets/Plugins/DarkTonic/CoreGameKit 3) Assets/Plugins/Editor/DarkTonic/CoreGameKit
If it still doesn't work, what is the full path of one of your scripts that can't find the namespace? Are they in Standard Assets or Assets? Both should work by the way.
|
|
|
Post by wohltaeter on Mar 30, 2016 16:37:05 GMT
Thanks for the quick reply. - I deleted 2) and 3) and reimported, but it did not solve the Problem. 1) was not there at this place.
My Scripts having the Problem are in Assets\Scripts I have another Script in Assets\Forge3D\SciFi Effects\Code
I recognized another Problem that might be important. - The DarkTonic Plugin disappered from the Component Menu. - Maybe the Plugin is broken?
I also get another Error: NullReferenceException: Object reference not set to an instance of an object UnityEngine.UI.Graphic.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:466) UnityEngine.UI.Text.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Text.cs:540) UnityEngine.UI.GraphicRebuildTracker.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/GraphicRebuildTracker.cs:33)
|
|
|
Post by DarkTonic Dev on Mar 30, 2016 19:37:01 GMT
The DarkTonic stuff won't appear on the menu unless you can successfully compile, which you currently aren't able to do - sounds like you get these error in edit mode, right?
I just tried in a new project, imported CGK from Asset Store, and added a script in Assets that accesses CGK. I am able to compile fine.
Looks to me like Unity core stuff isn't compiling, so you may have bigger problems. You should try commenting out all code you wrote that uses CGK to make sure. If you still can't compile, it's something else. You might even need to reinstall Unity.
|
|
|
Post by wohltaeter on Mar 31, 2016 16:02:52 GMT
Thanks - I used a backup to get things running again.
|
|
|
Post by DarkTonic Dev on Mar 31, 2016 19:01:56 GMT
No problem.
|
|