I have a VR project that contains one persistant level and 5 streamed trough blueprint levels. These 5 levels have a mixture of sunlight and skylight settings.
Thus: the lighting isnt done in the persistant level. But on a per level base (no static lightning). One dynamic light and one skylight per level.
Inside the editor everything works fine as expected (VR / Non-VR) .
When I run the game with a shortcut -game extension everything works fine as expected (VR / Non-VR).
When I buildt the game I have 0 errors and works fine as a stand alone without VR activated.
Now here we go (it took me 3 days to reproduce the error/Pesky BUG).
As soon as I activate VR (within the buildt version (oculus riftS)) The skylight does not show-up or shows-up random (when switching blueprint streamed levels). Shadows are black.
I tryed a great many things!! (using one skylight Inside persistant level, activating skylight on a delay)
This seems to be a realy Importand BUG to solve because it is impossible to run streamed levels with skylights and decent shadows.
Can anyone shed a light on this very difficult to reproduce BUG (you can only test with a buildt version and that takes 20 min to achieve).
I tested inside 4.20 no problems when switching streamed levels.
I tested inside 4.23 black shadows and skylight not showing when switching streamed levels.
I tested inside 4.24 black shadows and skylight not showing when switching streamed levels.