Hi,
I just updated to a new Windows 11 machine, when trying to package a project (that packaged correctly in windows 10) I get the following error:
UATHelper: Packaging (Windows): Creating library C:\UEProjects\Viewer3D_UE5\Binaries\Win64\Viewer3D_UE5.lib and object C:\UEProjects\Viewer3D_UE5\Binaries\Win64\Viewer3D_UE5.exp
UATHelper: Packaging (Windows): s2geometry.lib(s2cell_id.obj) : error LNK2019: unresolved external symbol __imp___std_init_once_begin_initialize referenced in function “void __cdecl MaybeInit(void)” (?MaybeInit@@YAXXZ)
UATHelper: Packaging (Windows): s2geometry.lib(s2cell_id.obj) : error LNK2019: unresolved external symbol __imp___std_init_once_complete referenced in function “public: __cdecl std::_Init_once_completer::~_Init_once_completer(void)” (??1_Init_once_completer@std@@QEAA@XZ)
UATHelper: Packaging (Windows): C:\UEProjects\Viewer3D_UE5\Binaries\Win64\Viewer3D_UE5.exe : fatal error LNK1120: 2 unresolved externals
A quick search for s2geometry.lib shows me it’s from the Cesium plugin here: …\UE_5.0\Engine\Plugins\Marketplace\CesiumForUnreal\Source\ThirdParty\lib\Windows-x64
I tried reinstalling the Cesium plugin several times and also using the Verify option from the Epic Games Launcher, but can’t seem to fix this. I’m running UE 5.0.2.
Any suggestions are greatly appreciated.