Help Installing on Mac

  1. The automatic plugin installer did not work. I needed to do a manual install.
  2. I needed to install git-lfs in order for the git clone to work.
  3. I then followed these instructions on GitHub:

cesium-unreal/developer-setup-osx.md at ue5-main · CesiumGS/cesium-unreal · GitHub

  1. I then tried to copy the cesium unreal folder from the ~/dev/Plugins folder to the Unreal’s Plugins folder.

cp -r ./cesium-unreal /Users/Shared/Epic\ Games/UE_5.0/Engine/Plugins

  1. I then opened an unreal project so I could select menu items

`Edit > Plugins > Search > Cesium > Select > Restart > Yes

  1. I received the following error:

image

Any help appreciated…

It should be noted I’m using UE 5.0.1

Hi @Mark-van-Wyk,

I don’t think that the manually-installed version of the plugin will work if it’s moved to the Engine plugins. You may need to install it on a per-project basis. Does the plugin work if you move it to the Plugins folder of your project? You may need to create the Plugins folder if it does not already exist.

-Alex

Hi @Mark-van-Wyk,

Yeah unfortunately you can’t just copy a working plugin from a project to the Engine/Plugins/Marketplace directory. You need to “package” the plugin as an engine plugin first. You should be able to do that by going to Edit → Plugins, finding the Cesium for Unreal plugin in the Geospatial section, and clicking the Package button.

It can be a bit persnickety though. For example, you need a Release build of cesium-native (and should either delete the Debug build, or make sure it is up-to-date). You also need exactly the right Xcode, or at least you need to build cesium-native targeting the right Xcode version.

Epic documents the requirements in the release notes for each version. Here it is for UE5:

So basically when building for macOS, we need to target Xcode 12.4 and macOS 10.15.7.

It’s an unfortunate reality of C++ that all these little details matter a lot, and nothing works if you get them wrong.

BUT we recently added UE5 macOS and iOS builds to our automated build process. So at this point you can just grab pre-built binaries included with the release. We’ve submitted them to the Epic Marketplace too, so they’ll be available there as soon as Epic approves the submission (should just be a day or two).

The automated build is useful, too, because it serves as a detailed recipe for building Cesium for Unreal as an engine plugin. Here’s the recipe. Note the job for each platform:

Hope that helps!

Kevin

Hey Mac Users! Here is a link to the latest Cesium Plugin for UE5.0.1

Go to Assets and download [CesiumForUnreal-500-v1.13.2.zip]

Drop the plugin folder in Engine/Plugins/Marketplace/

I finally had a chance to try it on the weekend and it works well.

Have a Great Day!! :smiley: