- Home /
Spawn Prefab inside another Prefab
I have a Prefab of a Door, it has a Prefab called GameTag as a child.
However, when I create the door prefab and Spawn it for the network, the GameTag prefab inside it is not spawned as well.
Both the Door and GameTag are registered spawnable objects and I can spawn them seperately just fine. But if GameTag is set as a child of the Door prefab it won't spawn with it, it will only appear locally.
Will I have to loop every time I spawn an object and spawn any prefab children as well or is there a less messy way?
Your answer
Follow this Question
Related Questions
UNET lazy loading, what does it mean? 1 Answer
Player Prefab on Lobby Managers? 5 Answers
UNet Parent System 0 Answers
Unity Networking: Object only spawning on the Host client. 2 Answers
The object Player(Clone) must be a prefab in the project view. 1 Answer