Building Cesium Plugin - jgoffeney/Cesium4Unreal GitHub Wiki

Back

References

Github Code

Source Directory

Create a short directory name in a root directory to clone the like H:/Dev. This prevents Windows issues with long path lengths.

Get Source

Compile Code

  • Open x86_x64 Cross Tools Command Prompt for VS 2019
  • cd H:/D4/cesium-unreal-samples/Plugins/cesium-unreal/extern
  • cmake -B build -S . -G "Visual Studio 16 2019" -A x64
  • cmake --build build --config Release --target install

Install For Project

  • Copy the directory H:/D4/cesium-unreal-samples/Plugins/cesium-unreal to your projects Plugins directory.
    • The Plugins may need to be created in the base project directory.

Update Version

Open CesiumForUnreal.uplugin and update Engine Version to at least the major version of Unreal the plugin is being used for.

Miscellaneous

I also changed the Engine->Plugins->Marketplace->CesiumForUnreal directory name and its uplugin file (if it exists) to make sure the local plugin version is used.