Closed i-xt closed 2 years ago
Description of the bug
When a GameObject that is visible in the hierarchy is destroyed while in search mode, a NullReferenceException is thrown.
NullReferenceException
Reproduction steps
Platform specs
Additional info
NullReferenceException is thrown here
https://github.com/yasirkula/UnityRuntimeInspector/blob/d1e02a3f5d92ebb928069a6d6852c7daaea3079f/Plugins/RuntimeInspector/Scripts/RuntimeHierarchy/HierarchyDataRootScene.cs#L31
Description of the bug
When a GameObject that is visible in the hierarchy is destroyed while in search mode, a
NullReferenceException
is thrown.Reproduction steps
Platform specs
Additional info
NullReferenceException
is thrown herehttps://github.com/yasirkula/UnityRuntimeInspector/blob/d1e02a3f5d92ebb928069a6d6852c7daaea3079f/Plugins/RuntimeInspector/Scripts/RuntimeHierarchy/HierarchyDataRootScene.cs#L31