I can not launch the play in VR preview mode with my unchanged UE5 preview build. The preview build is from the ue5-main branch from the 22.Feb.2022. It crashes right away when I press the Play button. Do you by chance have any Idea how to fix this?
Just ran into this crash myself, fortunately it looks like there’s already a fix.
There’s a changelist in ue5-main branch dated 2022-03-31 named ‘VR PIE: Make sure SetIndependentViewportSize is called on GameThread’ that should fix your issue. Grab a version of ue5-main newer than that and you should be good to go.
I just tried 5.1 Preview 2 and same issue. It looks like this issue was not commited. I have exact same issue with the error: Assertion failed IsInGameThread() (File:MyPc\UnrealEngine-ue5-main\Engine\Plugins\Runtime\Steam\SteamVR\Source\SteamVR\Private\SteamVRHMD.cpp] [Line: 1581]
I have the same problem when trying to preview the game in VR mode - completely BLANK project as well as VIRTUAL PRODUCTION TEMPLATE - UE 5.1 Preview 2, Windows 10
What is interesting is that it does not happen when I launch the VR template - the VR template runs OK in VR mode.