Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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:
    291
    lawxliet likes this.