- Home /
Instantiated prefabs acting different than those dragged onto scene
I have some prefabs that, when instantiated, act differently than ones that I just place into the scene manually (which perform exactly as intended). Any general reason that this might be happening before I share code? Just in case it helps, my game is in 2D.
Thanks in advance :)
not sure why you would not want to share code, but could you also show pics of prefab in inspector and reference as well as instantiate code.
Not exactly because maybe the code that is instantiating the object is the reason why this is happening. @clonetrooper2021 can we see the code that is instantiating the prefab?
Your answer
![](https://koobas.hobune.stream/wayback/20220613033717im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Particle system prefab not instantiated 1 Answer
Referencing prefab in code without using editor or Resources.Load? 0 Answers
Script on nested prefab Loses referance to parent prefab when instantiated 0 Answers
Object has to be a prefab in the project view. 0 Answers
Instantiate is spawning too many clones 2 Answers