- Home /
Object vanishes when becoming a child
I've got an odd situation that just started happening with one of my objects. As soon as any object becomes its child, that child object vanishes. I can see its transform in the scene view in the inspector, but the actual object disappears, as if it was set inactive. Am I suddenly missing something? It appears only to happen when one specific object is the parent. What am I missing here?
Is there anything weird about the parent transform's scale? Have you tried using the 'F' key to zoom and focus on the object after you child it to this transform?
Upload your code so we can see what you're doing and hopefully we can help you out.
Yup, tried it. In the end I just recreated the parent object and it worked just fine. Freaky.
Definitely strange. Next time try sacrificing a chicken and then throwing salt over your left shoulder.
Would you $$anonymous$$d marking your answer as closed so it gets removed from the unanswered list?
Thanks, -J
Answer by mauri11 · Mar 06, 2015 at 10:54 PM
I too was having the same problem. I noticed the child object's scale changed to 0,0,0 and that's y it disappeared. Still need to find a fix
Answer by suyujin · Oct 19, 2011 at 08:43 AM
My best guess is that you either have a transform on the parent, or the parent object has an awkward pivot point.
Your answer
Follow this Question
Related Questions
Make a simple tree 1 Answer
[SOLVED] Rotating child objects fix 0 Answers
Do Child Objects Trigger Parent Objects? 1 Answer
Make gameobject a child without affecting scale? 1 Answer
child object to parent c# 1 Answer