Visual Studio/UnrealEngine Issue

Hey I get these errors.

Summary

UATHelper: Error: Packaging (Windows): Module.LiveCoding.cpp.obj : error LNK2019: unresolved external symbol __std_search_1 referenced in function “char const * __cdecl std::_Search_vectorized<char const ,char const >(char const * const,char const * const,char const * const,unsigned __int64)” (??$_Search_vectorized@$$CBD$$CBD@std@@YAPEBDQEBD00_K@Z)
UATHelper: Error: Packaging (Windows): Module.LiveCoding.cpp.obj : error LNK2019: unresolved external symbol __std_search_2 referenced in function “wchar_t const * __cdecl std::_Search_vectorized<wchar_t const ,wchar_t const >(wchar_t const * const,wchar_t const * const,wchar_t const * const,unsigned __int64)” (??$_Search_vectorized@$$CB_W$$CB_W@std@@YAPEB_WQEB_W00_K@Z)
UATHelper: Error: Packaging (Windows): Module.GeometryAlgorithms.1.cpp.obj : error LNK2019: unresolved external symbol __std_mismatch_4 referenced in function “void __cdecl std::_Make_heap_unchecked<class std::array<int,2> *,struct std::less >(class std::array<int,2> *,class std::array<int,2> *,struct std::less)” (??$_Make_heap_unchecked@PEAV?$array@H$01@std@@U?$less@X@2@@std@@YAXPEAV?$array@H$01@0@0U?$less@X@0@@Z)
UATHelper: Error: Packaging (Windows): Module.GeometryAlgorithms.2.cpp.obj : error LNK2001: unresolved external symbol __std_mismatch_4
UATHelper: Error: Packaging (Windows): Module.GeometryAlgorithms.2.cpp.obj : error LNK2019: unresolved external symbol __std_minmax_element_d referenced in function “struct std::pair<double *,double *> __cdecl std::_Minmax_element_vectorized(double * const,double * const)” (??$_Minmax_element_vectorized@N@std@@YA?AU?$pair@PEANPEAN@0@QEAN0@Z)
UATHelper: Error: Packaging (Windows): Module.TraceAnalysis.cpp.obj : error LNK2019: unresolved external symbol __std_find_first_of_trivial_pos_1 referenced in function “unsigned __int64 __cdecl std::_Find_first_of_pos_vectorized<char,char>(char const * const,unsigned __int64,char const * const,unsigned __int64)” (??$_Find_first_of_pos_vectorized@DD@std@@YA_KQEBD_K01@Z)
UATHelper: Error: Packaging (Windows): reverb_onset_compensator.cc.obj : error LNK2019: unresolved external symbol __std_minmax_element_f referenced in function “struct std::pair<float *,float *> __cdecl std::_Minmax_element_vectorized(float * const,float * const)” (??$_Minmax_element_vectorized@M@std@@YA?AU?$pair@PEAMPEAM@0@QEAM0@Z)
UATHelper: Error: Packaging (Windows): reverb_node.cc.obj : error LNK2019: unresolved external symbol __std_max_element_f referenced in function “float * __cdecl std::_Max_element_vectorized(float * const,float * const)” (??$_Max_element_vectorized@M@std@@YAPEAMQEAM0@Z)
UATHelper: Error: Packaging (Windows): D:\(Location) : fatal error LNK1120: 7 unresolved externals

A few things Ive checked.

  • Updated visual studio 2022
  • Added
  • C++ modules for v143 build tools.
  • C++ Universal windows platofrm support for v143 build tools.

Im not entirely certain where to go from here, if anyone has any ideas?

Ok so for anyone with a similar issues

Its just updated stuff for me atleast.

I had to update unreal. The launcher and engine needed an update. I just always go to latest. (5.7.3 from 5.7)

Then updated visual studio
In individual I added

  • C++ modules for v143 build tools.
  • C++ Universal windows platform support for v143 build tools.

Then had an issue with livelink as I was trying to use the USD importer.

So disabled those too, and Usd core as I wasnt using them as I use GLB now.

It packages absolutely fine now. I think its a mixture of stupid past me and some updates decided to gang up on me. lol Hopefully this helps someone.