Hi all, I’ve been having issues packaging for PC VR and I cannot seem to find a way around it. I was having the same issue when trying to package or launch VR template and CollabViewer for Windows. In both cases, the first time I launch the level it gets stuck forever at this point:
LogPlayLevel: UAT: [1/19] Copy boost_system-vc142-mt-x64-1_70.dll
LogPlayLevel: UAT: [2/19] Copy boost_python39-vc142-mt-x64-1_70.dll
LogPlayLevel: UAT: [3/19] Copy tbb.dll
LogPlayLevel: UAT: [4/19] Copy boost_regex-vc142-mt-x64-1_70.dll
LogPlayLevel: UAT: [5/19] Resource Default.rc2
LogPlayLevel: UAT: [6/19] Copy OpenImageDenoise.dll
LogPlayLevel: UAT: [7/19] Copy boost_thread-vc142-mt-x64-1_70.dll
LogPlayLevel: UAT: [8/19] Copy boost_chrono-vc142-mt-x64-1_70.dll
LogPlayLevel: UAT: [9/19] Copy tbb12.dll
LogPlayLevel: UAT: [10/19] Copy tbb.pdb
LogPlayLevel: UAT: [11/19] Copy boost_iostreams-vc142-mt-x64-1_70.dll
LogPlayLevel: UAT: [12/19] Copy D3D12Core.dll
LogPlayLevel: UAT: [13/19] Copy d3d12SDKLayers.dll
LogPlayLevel: UAT: [14/19] Copy boost_atomic-vc142-mt-x64-1_70.dll
Since there is seemingly no way out of this even after hours of waiting, I click cancel. After this, every other time I launch or package the project it will go through the whole build process, with no errors whatsoever. But the exe is broken, and trying to open it will result in this error popping up :
Then if I delete Intermiediate and Saved folders, the first build gets stuck on the same line and so on… This was happening in VR Template and Collab Viewer both, taking the fresh template project with no changes at all. Note that VR preview works as intended, and I was able to build the VR template for Android (Quest 2) . The only problem is with Windows builds. I initially noticed this problem in UE 5.0 so I tried to upgrade to 5.1, only to run into the same exact issue
Starting from a fresh project instead of the template, it packages perfectly fine for Windows, until I add the OpenXR plugin to it. As soon as I enable OpenXR, the same exact behaviour applies to this fresh empty project as well.
What is going on?
ETA: when looking at the log txt file created in Appdata, it seems it got doesn’t get stuck at 14/19 but rather at 16/19 :
[16/19] Compile SharedPCH.Core.ShadowErrors.InclOrderUnreal5_0.cpp