Cesium for Unreal 没办法打包

  1. 我再win10 win11 都正常安装了 VS2022 已经 VS2019 的情况下能够直接打包出来EXE

2.但是 在另一台 win10 VS2019 没办法打包 并且报错缺少链接这个问题。目前不太明白到底怎么回事。仅仅是当前插件没办法正常打包,这是我个人的电脑,之前一直没有遇到此类问题,难道是我将win10 更新关闭的原因吗。
3.报错如下
【UATHelper: 打包 (Windows): [2/2] Link [x64] CesuimPro.exe
UATHelper: 打包 (Windows): ڴ G:\UESave\CesuimPro\Binaries\Win64\CesuimPro.lib Ͷ G:\UESave\CesuimPro\Binaries\Win64\CesuimPro.exp
LogSlate: Took 0.000226 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/NotoNaskhArabicUI-Regular.ttf’ (144K)
LogSlate: Last resort fallback font was requested. Font: ‘…/…/…/Engine/Content/Slate/Fonts/DroidSansFallback.ttf’, Character: ‘Ͷ (U+0376)’
LogSlate: Took 0.001518 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/SlateDebug/Fonts/LastResort.ttf’ (5269K)
UATHelper: 打包 (Windows): Cesium3DTilesReader.lib(SubtreeFileReader.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): CesiumRasterOverlays.lib(WebMapServiceRasterOverlay.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): CesiumRasterOverlays.lib(RasterOverlayTileProvider.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): CesiumRasterOverlays.lib(QuadtreeRasterOverlayTileProvider.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Cesium3DTilesContent.lib(SubtreeAvailability.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): CesiumRasterOverlays.lib(BingMapsRasterOverlay.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): CesiumRasterOverlays.lib(IonRasterOverlay.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): CesiumRasterOverlays.lib(RasterizedPolygonsOverlay.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): CesiumRasterOverlays.lib(TileMapServiceRasterOverlay.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Cesium3DTilesSelection.lib(ImplicitQuadtreeLoader.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): CesiumAsync.lib(CachingAssetAccessor.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): CesiumAsync.lib(GunzipAssetAccessor.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): CesiumGltfReader.lib(GltfReader.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Cesium3DTilesSelection.lib(CesiumIonTilesetLoader.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Cesium3DTilesSelection.lib(LayerJsonTerrainLoader.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Cesium3DTilesSelection.lib(TilesetJsonLoader.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Cesium3DTilesSelection.lib(ImplicitOctreeLoader.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Cesium3DTilesSelection.lib(TilesetMetadata.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Cesium3DTilesSelection.lib(RasterOverlayCollection.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Cesium3DTilesSelection.lib(TilesetContentManager.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Cesium3DTilesSelection.lib(RasterOverlayUpsampler.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Module.CesiumRuntime.8_of_11.cpp.obj : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Module.CesiumRuntime.9_of_11.cpp.obj : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Module.CesiumRuntime.11_of_11.cpp.obj : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): Cesium3DTilesSelection.lib(Tileset.obj) : error LNK2001: ޷ ⲿ __std_find_trivial_8
UATHelper: 打包 (Windows): draco.lib(point_cloud.obj) : error LNK2019: ޷ ⲿ __std_find_trivial_4 “int * __cdecl __std_find_trivial<int,int>(int *,int *,int)” (??$__std_find_trivial@HH@@YAPEAHPEAH0H@Z) ˸÷
UATHelper: 打包 (Windows): s2geometry.lib(s2cell_id.obj) : error LNK2019: ޷ ⲿ __std_init_once_link_alternate_names_and_abort “public: __cdecl std::_Init_once_completer::~_Init_once_completer(void)” (??1_Init_once_completer@std@@QEAA@XZ) ˸÷
UATHelper: 打包 (Windows): G:\UESave\CesuimPro\Binaries\Win64\CesuimPro.exe : fatal error LNK1120: 3 ޷ ⲿ
UATHelper: 打包 (Windows): Took 8.1129407s to run dotnet.exe, ExitCode=6
UATHelper: 打包 (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\GDF\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-CesuimPro-Win64-Development.txt)
UATHelper: 打包 (Windows): AutomationTool executed for 0h 0m 10s
UATHelper: 打包 (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: 打包 (Windows): BUILD FAILED】

这个字体打开失败,确认一下这个字体。

这个完全解决了,去他们社区说需要从Git上重新构建一下,原因是 MSVC 太旧了 因为官方也会自己构建插件上传商场等等原因。最起码 v143 没问题,哈哈。升级VS 2022 没想到连C++项目都没办法创建了
`Running C:/Program Files/Epic Games/UE_5.2/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“G:/UESave/UECPP/UECppTest/UECppTest.uproject” -game -rocket -progress
Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” -projectfiles -project=“G:/UESave/UECPP/UECppTest/UECppTest.uproject” -game -rocket -progress
Log file: C:\Users\GDF\AppData\Local\UnrealBuildTool\Log_GPF.txt

Some Platforms were skipped due to invalid SDK setup: Android.
See the log file for detailed information

Generating VisualStudio2019 project files:
Discovering modules, targets and source code for project…
Visual Studio C++ 2019 installation not found - ignoring preferred project file format.
Visual Studio 2019 x64 must be installed in order to build this target.`
VS2019 已经完全卸载了但官方上默认安装的引擎还是没办法改到VS2022,看来只能卸载试试了。真的就离谱。UE4 从VS2017 升级 2019 从来没有遇到这种情况

问题 解决了 本质上还是 SDK 没有正确配置,引擎默认安装VS是部分选项没有


一点要手动勾选,同时正确的安装 MSVC

最后 你可能需要先创建一个 蓝图项目然后再创建 C++类 这个时候VS2022 才能正常被编译识别,然后打包或者创建C++项目都没问题了。
但是:UE的面板任然显示 VS2019 这个可能是BUG 导致

对于这个BUG 感觉应该是VS2019 使用是修改了部分内容导致的。可能需要重新安装引擎部分内容可以解决

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.