Forum Discussion
RenogadeSALT
1 year agoHonored Guest
Issues with colocation while chaning scenes.
I have two scenes in my Unity game. The players connect p2p with netcode in the first scene and when the button is pressed the following code is executed to change scenes. After which the colocation building block from the meta sdk fires in the new scene, but instead of the spatial anchor prefab spawning where it normally does on the ground, it instead spawns at the location of the host's headset.
public void loadScene()
{
NetworkManager.Singleton.SceneManager.LoadScene("MRGameScene", LoadSceneMode.Single);
}
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 months ago
- 2 months ago
- 1 year ago
- 2 years ago