yasirkula/UnityRuntimeInspector

Search fallback

SiMaLaoShi opened this issue · 8 comments

After the search is complete, deleting the search content does not return to the original location

Hi, why did you close this Issue?

I can't reproduce it in another version

99ba212a8fae07e40a25fa6e267c3e22
Let me see if I can reproduce it

image
Just manually delete a GameObject and search for it

Sorry, can't give you a demo, this error only happens in my project

NewBehaviourScript.txt
hi, I made a test script
image

Thank you for sharing your findings! Though I'll fix this issue in the next release, it won't arrive anytime soon so I'd recommend updating this function manually as follows:

public override Transform GetChild( int index )
{
	GameObject rootObject = rootObjects[index];
	return rootObject ? rootObject.transform : null;
}

Good