Search Unity

Multiple scenes with Optical See Through

Discussion in 'Vuforia' started by Bierrobot, Nov 10, 2017.

  1. Bierrobot

    Bierrobot

    Joined:
    Oct 13, 2017
    Posts:
    8
    Hello,

    I have 2 Unity scenes running with Vuforia on ODG R7. Each scene runs fine independently and I want to be able to go from one to the other, using Unity's SceneManager.

    If I select "None" as my Digital Eyewear method in Vuforia Configuration, everything works fine (like in the Vuforia Core Features sample app). However, if I select Optical See Through and Vuforia, Vuforia stops working as soon as I change scene, and I get MissingRefence exceptions (cf picture attached). I get the same errors when I deploy to the device.

    Is there any way to have multiple scenes in Optical See through with Vuforia?
    Thanks!
     

    Attached Files:

  2. Aga18011991

    Aga18011991

    Joined:
    Jun 6, 2017
    Posts:
    4
    Hi, I've got the same problem. Have you fixed it?
     
  3. Bierrobot

    Bierrobot

    Joined:
    Oct 13, 2017
    Posts:
    8
    Hi @Aga18011991 , sorry for the late response. No, I didn't fix it, I just went for an approach with a single scene. Let me know if you found a workaround though,
     
  4. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    The Stereo Rendering sample switches between scenes during the start up and does not have any issue. Are you doing something different from this? What Vuforia-related code are you running when switching scenes?