Post by christougher on Jan 24, 2019 17:25:09 GMT
Getting weird errors with 2018_3_1f1 in my project and fresh projects with vanilla CGK...
Play sample scene two:
in 2018_2 once it gets to the part where the little fighter2's shoot more then 5 UFOProjectiles it gives a message that it could not spawn any more
easily fixed by setting "Allow instantiate More"
in 2018_3 this is not fixed by allowing more to be instantiated.
if you go into pool boss during play mode and select a UFOProjectile or a Shot3 it gives these errors:
ArgumentNullException: Value cannot be null.
Parameter name: obj
UnityEditor.PrefabUtility.GetCorrespondingObjectFromSource[TObject] (TObject componentOrGameObject) (at C:/buildslave/unity/build/Editor/Mono/Prefabs/PrefabUtility.cs:1354)
PoolBossEditorUtility.DisplayPrefab (System.Boolean& isDirty, UnityEngine.Object editorObject, UnityEngine.Transform& prefabInstance, System.String& catName, System.String prefabName, System.Boolean willDisplayPrefab) (at Assets/Plugins/Editor/DarkTonic/CoreGameKit/PoolBoss/PoolBossEditorUtility.cs:52)
KillableInspector.OnInspectorGUI () (at Assets/Plugins/Editor/DarkTonic/CoreGameKit/Combat/KillableInspector.cs:1507)
UnityEditor.InspectorWindow.DoOnInspectorGUI (System.Boolean rebuildOptimizedGUIBlock, UnityEditor.Editor editor, System.Boolean wasVisible, UnityEngine.Rect& contentRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1625)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
and this warning:
Unexpected top level layout group! Missing GUILayout.EndScrollView/EndVertical/EndHorizontal?
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
sample scene 3:
in 2018_3:
immediate error on play
Assertion failed on expression: '!go.TestHideFlag(Object::kNotEditable)'
UnityEngine.GameObject:AddComponent()
DarkTonic.CoreGameKit.PoolBoss:GetPrefabName(Transform) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:1578)
DarkTonic.CoreGameKit.PoolBoss:CreatePoolItemClones(PoolBossItem, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:388)
DarkTonic.CoreGameKit.PoolBoss:ContinueInit() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:227)
DarkTonic.CoreGameKit.PoolBoss:Initialize() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:198)
DarkTonic.CoreGameKit.PoolBoss:Awake() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:136)
in both 2018_2 and 2018_3 have this error every frame
NullReferenceException: Object reference not set to an instance of an object
DarkTonic.CoreGameKit.WaveSyncroPrefabSpawner.MaybeRepeatWave () (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Spawners/WaveSyncroPrefabSpawner.cs:1310)
DarkTonic.CoreGameKit.WaveSyncroPrefabSpawner.CheckForWaveRepeat () (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Spawners/WaveSyncroPrefabSpawner.cs:1672)
DarkTonic.CoreGameKit.WaveSyncroPrefabSpawner.Update () (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Spawners/WaveSyncroPrefabSpawner.cs:104)
inScene 4
same issues as scene 2 with Shot3 and runtime spawning and selecting one in the editor
Play sample scene two:
in 2018_2 once it gets to the part where the little fighter2's shoot more then 5 UFOProjectiles it gives a message that it could not spawn any more
easily fixed by setting "Allow instantiate More"
in 2018_3 this is not fixed by allowing more to be instantiated.
if you go into pool boss during play mode and select a UFOProjectile or a Shot3 it gives these errors:
ArgumentNullException: Value cannot be null.
Parameter name: obj
UnityEditor.PrefabUtility.GetCorrespondingObjectFromSource[TObject] (TObject componentOrGameObject) (at C:/buildslave/unity/build/Editor/Mono/Prefabs/PrefabUtility.cs:1354)
PoolBossEditorUtility.DisplayPrefab (System.Boolean& isDirty, UnityEngine.Object editorObject, UnityEngine.Transform& prefabInstance, System.String& catName, System.String prefabName, System.Boolean willDisplayPrefab) (at Assets/Plugins/Editor/DarkTonic/CoreGameKit/PoolBoss/PoolBossEditorUtility.cs:52)
KillableInspector.OnInspectorGUI () (at Assets/Plugins/Editor/DarkTonic/CoreGameKit/Combat/KillableInspector.cs:1507)
UnityEditor.InspectorWindow.DoOnInspectorGUI (System.Boolean rebuildOptimizedGUIBlock, UnityEditor.Editor editor, System.Boolean wasVisible, UnityEngine.Rect& contentRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1625)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
and this warning:
Unexpected top level layout group! Missing GUILayout.EndScrollView/EndVertical/EndHorizontal?
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
sample scene 3:
in 2018_3:
immediate error on play
Assertion failed on expression: '!go.TestHideFlag(Object::kNotEditable)'
UnityEngine.GameObject:AddComponent()
DarkTonic.CoreGameKit.PoolBoss:GetPrefabName(Transform) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:1578)
DarkTonic.CoreGameKit.PoolBoss:CreatePoolItemClones(PoolBossItem, Boolean) (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:388)
DarkTonic.CoreGameKit.PoolBoss:ContinueInit() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:227)
DarkTonic.CoreGameKit.PoolBoss:Initialize() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:198)
DarkTonic.CoreGameKit.PoolBoss:Awake() (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PoolBoss/PoolBoss.cs:136)
in both 2018_2 and 2018_3 have this error every frame
NullReferenceException: Object reference not set to an instance of an object
DarkTonic.CoreGameKit.WaveSyncroPrefabSpawner.MaybeRepeatWave () (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Spawners/WaveSyncroPrefabSpawner.cs:1310)
DarkTonic.CoreGameKit.WaveSyncroPrefabSpawner.CheckForWaveRepeat () (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Spawners/WaveSyncroPrefabSpawner.cs:1672)
DarkTonic.CoreGameKit.WaveSyncroPrefabSpawner.Update () (at Assets/Plugins/DarkTonic/CoreGameKit/Scripts/Spawners/WaveSyncroPrefabSpawner.cs:104)
inScene 4
same issues as scene 2 with Shot3 and runtime spawning and selecting one in the editor