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

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.

In URP with hybridRenderer you only get 1 realtime directional light. Nothing more.

https://docs.unity3d.com/Packages/com.unity.rendering.hybrid@0.51/manual/hybrid-renderer-versions.html

1 Like