Dynamic shadows dissapear when turning on VR

I’ve setup a simple scene with a dynamic directional light.

When viewing in editor, the scene works just fine. When I try to build or launch in VR, the scene suddenly looses all shadows. The shadows then don’t reappear in the editor. I have to close the engine and launch it again, then the shadows are back. But again, upon launching they dissapear. What’s going on?