- Home /
Photon Instantiate Prefab Script Problems
So I am working on a online multiplayer using Photon thus I need to instantiate my player upon joining a room. The problem is I my player is a prefab but when I make it a prefab it turns multiple gameobjects into one prefab.
This would be okay other than I I access a lot of these gamobjects from other parent gameobjects and so and so my scripts cant find them!
When my prefab pre-exists before the scene starts it works fine but if it is instantiated it doesn't. Thanks for the help in advance, I am new to online components like these.
In this picture I am trying to access the barrel and it cannot find it.
Your answer
Follow this Question
Related Questions
Problem with prefab parent and children objects that need to be instantiated multiple times. 1 Answer
Setting parent of instantiated object fails (Error: setting parent of prefab is disabled...) 1 Answer
How to Instantiate Prefab as Child of Player OnTriggerEnter 0 Answers
Trigger in children object activates function in parent 0 Answers
Accessing children of instances vs children of original prefab 1 Answer