By maghool
on Thu, 05/05/2022 - 20:02
In my unity script I load and unload scenes that have AreaTargets (I am using LoadSceneMode.Additive).
Everything works fine while testing on unity editor, but once I run the application on my Ipad I get this error while switching between scenes:
"There may be only one VuforiaBehaviour instance in the scene"
sometimes, I get another error:
NullReferenceException: Object reference not set to an instance of an object"\.
DefaultObserverEventHandler.OnDestroy () (at <0000...000>:0)
Does anyone have any idea about it?
Hey I have the same issue, do
Hey I have the same issue, do you have any solution yet? I am running it on Unity with the Hololens
Hey there,
Hey there,
Can you validate if the ARCamera isn't loaded twice (from the current and previous scene)? LoadSceneMode.Additive adds the current scene to the other loaded scenes. This could mean that two ARCamera's are added and that's why you might receive the error.