- Home /
Question by
MuyangYan · Aug 02, 2019 at 01:23 AM ·
instantiateprefabnot working
Instantiated prefab not working
When I instantiate a certain prefab, it doesn't work . When I drag the same prefab from my Assets into my Hierarchy, it works. What is the difference between an instantiated prefab and one that starts in the scene?
Comment
Can you post the code you are using to instantiate the object?
Answer by MuyangYan · Aug 02, 2019 at 04:26 AM
Nevermind, found the solution. It was trying to reference deactivated objects.
Your answer