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)