Black Screen in VR headset only (pack. proj.)

The project works fine in VR preview. When I pack the project and starts it, in my monitor I can see the game screen normally, but i cannot see the game running in the VR headset. Can someone help me? thx

this is my monitor SS (everything working fine). the vr view is black.

1 Like

Hey,
Have you developped your project from scratch or from UE4 VR project Template ?
What HMD are you using? Vive or Oculus?
Before launching your project have you launched steamvr or oculusconnect?

Have you developped your project from scratch or from UE4 VR project Template ?
I migrate my project to a vr template and made some changes.

What HMD are you using? Oculus rift cv1

Before launching your project have you launched steamvr or oculusconnect?
No, but steamvr is installed

thx

Ok I ment OculusClient, not oculusconnect but anyway you got me. If you’re using Rift I think you should try to run first the Oculus client, then launch your packaged game. Also you’ll have to set the client so it accepts running third parties apps.

found the solution myself. if someone has the same problem, heres the solution (idk why it was unchecked ^^)

If the Rift is not working in a Packaged game, make sure that Start in VR is checked. Start In VR can be found by going to Project Settings > Description > Settings.

https://docs.unrealengine.com/portals/0/images/Platforms/Oculus/BestPractices/Rift_Packed_Game.png