Any idea why Cesium suddenly has issues with packaging when there is a project version and engine version? This didn’t cause problems in the past but having the plugin in the project is helpful if changes are made specific to that project.
using UE 5.7.4 but you have to remove either the project or the engine plugin for a build to work. It will successfully package the project but Cesium will not be present.
the logs show it prioritising the project plugin over engine but they are clashing for some reason with no errors in the build log.
Hey @Tomorrowspace,
Have you recently updated Unreal Engine versions? I believe this is more an issue with how Unreal Build Tool works when it finds duplicate plugins (once copy in engine plugins, one in project plugins) and not a change within the Cesium For Unreal plugin. If this workflow previously worked, perhaps there was a change in UBT in one of the more recent versions of UE.
In theory you could test this by duplicating a different plugin across Engine and Project plugins and see if the same issue occurs.
I see a couple paths forward for you:
- Only have the plugin in Engine (sounds like that doesn’t work as you have project specific changes for the plugin that other projects don’t need?)
- Only have the plugin in Project plugins (will resolve the issue, but you may have many duplications of the Cesium For Unreal Plugin across all your projects)
- Rename your Project Plugin version of Cesium for Unreal (lot’s of locations to refactor, including but no limited to: folder name, references within the .uplugin file, .Build.cs etc.).
Hope that helps!