Forum Discussion
SoundGuy
3 years agoStart Partner
Presence Platform Scene Manager SceneModelLoadedSuccessfully not being called
Hello,
I'm trying to get Scene data, so following the tutorials, I wrote a script that waits for the scene to be loaded and then iterate over the SceneAnchors.
It worked in one project. I took this c# script and moved it to another project, duplicated the bouncing ball demo scene and added my script there.
My script is pointing to the OVRSceneManager that exists there in the bouncing ball scene.
In the logs, with verbose on, I can see the scene is being loaded and finishes successfully, with the OVRSceneManager object but the SceneModelLoadedSuccessfully not being called in my object.
This is in my code
if (_sceneManager == null)
{
_sceneManager = FindObjectOfType<OVRSceneManager>();
}
VRDebugger.Log(" Scene Manager" + _sceneManager);
_sceneManager.SceneModelLoadedSuccessfully += SceneModelLoaded;
{
_sceneManager = FindObjectOfType<OVRSceneManager>();
}
VRDebugger.Log(" Scene Manager" + _sceneManager);
_sceneManager.SceneModelLoadedSuccessfully += SceneModelLoaded;
What am I doing wrong?
2 Replies
Replies have been turned off for this discussion
- amir.blimeyExplorer
I am having the same issue. Did you ever solve it?
- gtk2kExplorer
I solve it. CameraRig -> OVR Manager : Scene Support change to [Supported]
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
- 2 months ago