Unity Version 2018.1.1f1
Hello,
in my script I call:
myGameObject.transform.Find(“AttachmentPositions”)
and
myGameObject.transform.Find(“Attachments”)
Both GameObjects “AttachmentPositions” and “Attachments” are basically identical. No components. Active. Parented to the same GameObject. Correctly named. And so on. Debug.Log(myGameObject.transform.childCount) returns the correct number of children.
myGameObject.transform.Find(“AttachmentPositions”) returns correcty the searched Transform.
myGameObject.transform.Find(“Attachments”) returns always “null”
If I rename the second GameObject to “123” instead of “Attachments”, transform. Find(“123”) returns the correct Transform. Any idea whats going on? Is this a bug?