I am trying to build and package Cesium for Unreal by myself. The codes are based on branch of ue_5.4_support.
I build it follow this link:
the build command i used is:
for MacOS:
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
cmake --build build --target install
for iOS:
cmake -B build-ios -S . -GXcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release
cmake --build build-ios --target install --config Release
and package it(macOS+iOS) follow this link:
the package command i used is:
sudo “/Users/Shared/Epic Games/UE_5.3/Engine/Build/BatchFiles/RunUAT.command” BuildPlugin -Plugin=“/Users/wuwei/work/wyd/cesium/cesium-unreal/CesiumForUnreal.uplugin” -Package=“/Users/wuwei/work/wyd/cesium/out/CesiumForUnreal” -CreateSubFolder -TargetPlatforms=Mac+iOS
then i got bunch of errors when package:
Size mismatch /Users/wuwei/work/wyd/cesium/cesium-unreal/extern/cesium-native/extern/KTX-Software/NOTICE.md = 10 to /Users/wuwei/work/wyd/cesium/out/CesiumForUnreal/HostProject/Plugins/CesiumForUnreal/extern/cesium-native/extern/KTX-Software/NOTICE.md = 1523
Failed to copy /Users/wuwei/work/wyd/cesium/cesium-unreal/extern/cesium-native/extern/KTX-Software/NOTICE.md to /Users/wuwei/work/wyd/cesium/out/CesiumForUnreal/HostProject/Plugins/CesiumForUnreal/extern/cesium-native/extern/KTX-Software/NOTICE.md, deleting, waiting 10s and retrying.
SafeDeleteFile /Users/wuwei/work/wyd/cesium/out/CesiumForUnreal/HostProject/Plugins/CesiumForUnreal/extern/cesium-native/extern/KTX-Software/NOTICE.md
So, can you give some ideas to solve these errors? Thx!
Currently, we’re working on UE 5.4 support on Github here. It’s not perfect, but you could reference the changes there and bring them into your own branch. We’ll also finalize and release the changes for the upcoming 5.4 release. Please let us know how it goes!
Hi Janine,
Thanks for your answer.
According official documentations, i found you have CI for Cesium for Unreal.
I have download the plugin package from branch of ue_5.4_support.
One more question, in order to support UE5.4, should i download plugin package from branch of ue_5.4_support? Or another branch?