|
Post by chrisoshea on Mar 19, 2021 14:21:39 GMT
Hi
I've got Core GameKit in a project that I updated to Unity 2019.4. I made a new scene, deleted any files associated with coregamekit and imported 3.2.9.2 from the asset store.
I'm now getting these errors. Any ideas? Thanks!
--
Assets/Plugins/Editor/DarkTonic/CoreGameKit/Combat/KillableInspector.cs(2352,38): error CS0246: The type or namespace name 'Killable' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Editor/DarkTonic/CoreGameKit/CustomEvents/CGKCustomEventPropertyDrawer.cs(6,34): error CS0246: The type or namespace name 'CoreCustomEventAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Editor/DarkTonic/CoreGameKit/Combat/KillableDeathPrefabInspector.cs(6,26): error CS0246: The type or namespace name 'KillableDeathPrefab' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Editor/DarkTonic/CoreGameKit/Helpers/CloningHelper.cs(8,23): error CS0246: The type or namespace name 'LevelSpecifics' could not be found (are you missing a using directive or an assembly reference?)
|
|
|
Post by DarkTonic Dev on Mar 19, 2021 19:39:47 GMT
Make sure you restart Unity after deleting CGK and before importing CGK again from the Asset Store. It does make a difference.
I'm not aware of any compile errors on any version of Unity. 2019.4 is quite old.
|
|
|
Post by chrisoshea on Mar 21, 2021 19:56:08 GMT
Unfortunately 2019.4 LTS is the only version that allows you to publish to iOS 10, newer versions require iOS 11.
I deleted CoreGameKit, quit Unity, restarted Unity, imported from the Asset store and still have the same problem. 115 errors all like above. Hmm.
Thanks
|
|
|
Post by DarkTonic Dev on Mar 22, 2021 4:43:24 GMT
There may not be an easy way to fix this remotely. If you could possibly send me a zip of your project or temporary source control access I could figure it out pretty easily.
Or we can try this, which may take a while.
1 error says: Assets/Plugins/Editor/DarkTonic/CoreGameKit/Combat/KillableInspector.cs(2352,38): error CS0246: The type or namespace name 'Killable' could not be found (are you missing a using directive or an assembly reference?)
So give me the entire path of where the Killable.cs class lives. It should be in Assets\Plugins\DarkTonic\CoreGameKit\Scripts\Combat\Killable.cs
If you can't find it or it's in some other weird folder, that is the issue. And the same goes for your other files that "can't be found". You didn't move them? Because I can't explain why they aren't in the default location since you restarted Unity before installing it again. Unless you didn't in fact delete all the files and thought you did? Most of all those missing scripts should be in Assets\Plugins\DarkTonic\CoreGameKit\Scripts subfolders.
When you "delete Core GameKit", let me know all the folders you deleted please, so I can let you know if you missed any.
Thanks and let me know if you get it figured out, -Brian
|
|