Oshigawa
Full Member
Posts: 228
Posts: 228
|
Post by Oshigawa on May 9, 2017 21:11:03 GMT
I don't know how to reproduce it, but i think i was toying around with collapse and expand buttons when it happened. All of a sudden, i can see only one wave of many in the LevelWaveSettings There's no way of scrolling down, only when i collapse the wave in the view, the next one appears, and so on. Console just keeps churning these two errors: Unexpected top level layout group! Missing GUILayout.EndScrollView/EndVertical/EndHorizontal? UnityEditor.DockArea:OnGUI() ---- NullReferenceException: Object reference not set to an instance of an object LevelSettingsInspector.FindMatchingSpawners (Int32 level, Int32 wave) (at Assets/Plugins/Editor/DarkTonic/CoreGameKit/Level/LevelSettingsInspector.cs:1943) LevelSettingsInspector.OnInspectorGUI () (at Assets/Plugins/Editor/DarkTonic/CoreGameKit/Level/LevelSettingsInspector.cs:1215) UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1236) UnityEditor.DockArea:OnGUI() I updated to the latest version, still happening. I'm reimporting everything now to see what happens. Edit: Nothing, still happenning. Unity is 5.5.0f3 personal, CGK latest. Edit 2: Everything's fine when i create a new levelwavesetting prefab in the scene, any way to copy the data from the screwed up prefab to a good one?
|
|
|
Post by DarkTonic Dev on May 9, 2017 22:45:14 GMT
I think one of your spawners is missing the spawner script (WaveSyncroPrefabSpawner). Probably need to add that script back and this error should be fixed.
|
|
Oshigawa
Full Member
Posts: 228
Posts: 228
|
Post by Oshigawa on May 10, 2017 8:01:34 GMT
You were right, i added triggered spawner under levelwavesettings>spawners and that creates the problem, i didn't know they should be placed outside that object.
|
|
|
Post by DarkTonic Dev on May 10, 2017 16:37:45 GMT
Ok, good to go!
|
|