|
Error
Dec 23, 2016 19:35:10 GMT
Post by Toni on Dec 23, 2016 19:35:10 GMT
Hi,
I just finished setting up a bunch of waves and now i get this error when i start the game:
Unknown VariableSource: 2139095039 UnityEngine.Debug:LogError(Object) DarkTonic.CoreGameKit.LevelSettings:LogIfNew(String, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Level/LevelSettings.cs:1120) DarkTonic.CoreGameKit.KillerFloat:get_Value() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Settings/KillerFloat.cs:74) DarkTonic.CoreGameKit.KillerFloat:LogIfInvalid(Transform, String, Nullable`1, Nullable`1, String) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Settings/KillerFloat.cs:35) DarkTonic.CoreGameKit.WaveSyncroPrefabSpawner:CheckForValidVariablesForWave(WaveSpecifics) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Spawners/WaveSyncroPrefabSpawner.cs:648) DarkTonic.CoreGameKit.WaveSyncroPrefabSpawner:Start() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Spawners/WaveSyncroPrefabSpawner.cs:83)
I've just setup 50 waves with 15 spawners that took over 10 hours
|
|
|
Error
Dec 23, 2016 20:10:19 GMT
Post by DarkTonic Dev on Dec 23, 2016 20:10:19 GMT
I'm looking at the code to match up the line numbers, but there is no line 1120 in LevelSettings.cs....
Please update to the very latest version of CGK from the Asset Store and send me the line numbers again.
|
|
|
Error
Dec 24, 2016 15:23:13 GMT
Post by Toni on Dec 24, 2016 15:23:13 GMT
Hi,
I've just updated the game from 3.2.6.7 to 3.2.6.8
The error is still there only now it's on line 1198 of levelwavesettings which brings me to these lines of code:
if (logAsWarning) { Debug.LogWarning(message); } else { Debug.LogError(message); }
the new error is:
Unknown VariableSource: 2139095039 UnityEngine.Debug:LogError(Object) DarkTonic.CoreGameKit.LevelSettings:LogIfNew(String, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Level/LevelSettings.cs:1198) DarkTonic.CoreGameKit.KillerFloat:get_Value() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Settings/KillerFloat.cs:74) DarkTonic.CoreGameKit.KillerFloat:LogIfInvalid(Transform, String, Nullable`1, Nullable`1, String) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Settings/KillerFloat.cs:35) DarkTonic.CoreGameKit.WaveSyncroPrefabSpawner:CheckForValidVariablesForWave(WaveSpecifics) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Spawners/WaveSyncroPrefabSpawner.cs:648) DarkTonic.CoreGameKit.WaveSyncroPrefabSpawner:Start() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Spawners/WaveSyncroPrefabSpawner.cs:83)
|
|
|
Error
Dec 24, 2016 18:34:51 GMT
Post by DarkTonic Dev on Dec 24, 2016 18:34:51 GMT
Looks like you have a screwed up "Nudge Down" setting for a wave. Somehow you have Variable Source set to something other than "Self" or "Variable", which I have no idea how that's possible since it's an enum and those are the only 2 values in the enum.
I'll only be able to help fix it if you send me the project, sorry. No idea how you've made this happen unfortunately.
-Brian
|
|
|
Error
Dec 24, 2016 20:53:52 GMT
Post by Toni on Dec 24, 2016 20:53:52 GMT
Hi Brian,
Thanks for the response.
After you said where the problem could be i was able to isolate the problem to a single wave.
after inspecting it i couldn't find any differences with the other waves i have. I just deleted the wave and created a new one, now the error is gone, really weird.
Thanks
|
|
|
Error
Dec 24, 2016 21:03:47 GMT
Post by DarkTonic Dev on Dec 24, 2016 21:03:47 GMT
Ok good. No problem. This is the only report of this, so I really wish I knew how it can happen!
|
|