Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Instantiated prefab not showing on oculus go but in editor preview

Discussion in 'AR/VR (XR) Discussion' started by DannyDan2468, Sep 25, 2018.

  1. DannyDan2468

    DannyDan2468

    Joined:
    Feb 23, 2014
    Posts:
    9
    Hello everyone,
    as stated in the Topic, I have a big problem that all the objects that are instantiated from a prefab during runtime, are not showing up in the scene on my oculus go. Previewing the scene inside the editor, everything is rendered normally.
    When I drag the same prefab directly into the scene, its also showing when running on my device. I have no clue whats causing this, but I hope that any1 can help me solve this issue.

    Danny
     
  2. DannyDan2468

    DannyDan2468

    Joined:
    Feb 23, 2014
    Posts:
    9
    Ohoh, I just solved this issue. It was all my fault. I just had the idea to debug the scene on the device and found out, that I used wrong code inside my script. I was checking for playerprefs that ar not set correctly. ;)

    Danny
     
    JoeStrout likes this.