I am trying to compile a production build for VR, but to no success so far. I have two problems:
If I build the game in the “Shipping” configuration, it won’t launch, and instead show me an error that GlobalShaderCache-PCD3D_SM5.bin is missing. The error speaks of cooked content, but I tried building my level, it still does that whatever I do
When you build a game, it won’t launch in VR by default. You have to open the console and enter “stereo on”. I tried adding a blueprint that sent this command at the game’s launch, but it doesn’t work unless the player enters it manually. Is there a way to fix that?
Basically, if someone knows how to properly build a working version of a VR Game in UE4…
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.
I have the same question for #2, as well. I’m not sure how to make a packaged build that forces VR. The game currently launches normally and then we have to manually enter “stereo on” to get into VR mode.
My Google searches all come up with suggestions of added an execute console command to the Blueprint scripts, but that feel very hacky to me. Is there not a built in way to define a game as being VR only?