Positional tracking not working in a standalone game

Hi,
In the Editor in VR Preview everything is working fine. However, when I package my project and run the .exe, Positional tracking is not working and I can see the tracking camera is off. I get into the VR mode by “stereo on” command. Typing “hmdpos on” has no effect.

Anything I can do to fix it?

I’m using Oculus Rift DK2.