However, when i disable minipoolboss, pool boss inspector works ok on first level. Then, in between levels i run despawn prefabs of type for multiple objects if something is left undespawned as well as send a global despawn event (just in case), all objects that are in the pool despawn themselves that way.
And then i get this:
MissingReferenceException: The object of type 'Transform' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. UnityEngine.Component.GetComponent[T] () (at <0e7c1c9367c544fa83b5270f5a69cf11>:0) DarkTonic.CoreGameKit.EditorScripts.PoolBossInspector.OnInspectorGUI () (at Assets/Plugins/Editor/DarkTonic/CoreGameKit/PoolBoss/PoolBossInspector.cs:1019) UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <3d9f46ac475f4fa9a3b71bacf80244a8>:0)
Aug 28, 2022 14:42:42 GMT 1 Heath Close said: This happens if you delete a prefab that is listed in pool boss
sorry, wasn't logged in...
the pool boss inspector goes crazy if you delete a prefab that it is referencing. The only way to recover is to roll back to the last commit where the prefab existed or a commit where it was not yet added as a pool boss item.