Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question URP + Unity DOTS + Building for Oculus VR = Inconsistent Behavior

Discussion in 'Entity Component System' started by lawxliet, Sep 9, 2022.

  1. lawxliet

    lawxliet

    Joined:
    Aug 5, 2022
    Posts:
    1
    I am getting inconsistent behavior on each of following step:

    1. Added a Game Object Cube with point light on top of it -> Normal Behavior in editor and oculus
    2. Converted Cube to Entity -> Light Goes away from Unity Game mode and Oculus
    3. Moved Cube into a subscene -> Cube still visible in Game mode, disappears in Oculus

    I believe two problems going on here:
    1. Point Light doesn't seem to work on entity. For this tried various materials and light configs but no success so far.
    2. Subscene doesn't get added into android build. For this I tried installing unity platform and unit platforms android but no success.

    I am using Unity 2021.3

    PS: Any help is appreciated, knowing even if above thing is possible with current state of DOTS and URP + hybrid renderer v2 would be of great help.
     
  2. Arnold_2013

    Arnold_2013

    Joined:
    Nov 24, 2013
    Posts:
    174
    lawxliet likes this.