I am unable to package a VR project I’ve been working on a while after updating to Unreal 5.4. The packaging fails almost right after starting the cook command
I feel like something has changed or is happening with OpenXR, but my skills and understanding kinda end in Editor, and I don’t know much beyond that. I’ve tried googling and I’ve tried different Unreal 5.4.X versions, but all of them have the same end result, while in 5.3 builds work great.
Posting the full log in C:\Users\Detocroix\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Games+Unreal+Store+UE_5.4\Log.txt would help someone troubleshoot it.
Unreal 5.5 preview 1 gave me a clear bug report on this;
No valid Visual C++ toolchain was found (minimum version 14.38.33130). Please download and install Visual Studio 2022 17.8 or later and verify that the "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)" component is selected in the Visual Studio 2022 installation options.
Total execution time: 1.42 seconds
Visual Studio 2022 x64 must be installed in order to build this target.
Which was fixed by reinstalling Vs 2022, but that didn’t fix the build failing.
I have no idea how to fix it, everything works perfectly in UE 5.3 and no problems in editor for 5.4 nor 5.5 preview, but it’s impossible to make builds
I encountered the exact same issue. It seemed to be something wrong with the steamVR OpenXR runtime that was causing it for me. Switching the openXR runtime back to the oculus one fixed it and allowed me to build without issue. I used this handy tool to switch between the two runtimes as needed. Best of luck!