Missing CesiumRuntime & CesiumEditor

image

Hi Cesium Community,

I am on Ubuntu 20.04 and have built UE4 4.27.2. I downloaded the latest release tagged Cesium for Unreal v1.14.0 (Unreal Engine 4) and placed it inside ~/UnrealEngine-4.27/Engine/Plugins/Marketplace directory. When I try to run cesium sample app project I get this error.

The following modules are missing or built with a different engine version:
CesiumRuntime
CesiumEditor

I originally added this to github issues here ue4-main branch compilation throws "The CesiumForUnreal plugin was designed for build 4.26.0" error on UE4 4.27.2 Ubuntu · Issue #869 · CesiumGS/cesium-unreal · GitHub

Please suggest.

Thanks

Hi @ankitatcodingnebula,

Sorry, I think I led you astray before. Our plugin packages on the Releases page do not include Editor support for Linux. They will enable you to package a game for Linux when running the Editor on Windows (i.e: cross-compile), but they don’t have the binaries necessary to run the Editor itself on Linux.

Unreal Engine’s support for running the Editor on Linux is kind of spotty. As you know, you have to compile the Unreal Engine yourself from source. Epic does not provide binaries. This makes it tricky to achieve ABI compatibility with plugins, because C++ binaries are very sensitive to details of the compilation environment where the binaries were built. Until Epic provides builds for the Editor on Linux, it’s not realistic for us to provide builds of Cesium for Unreal, either.

So, long story short, you need to compile Cesium for Unreal if you want to run it in the Editor on Linux. The most up-to-date instructions are here:

Follow the link to the Linux-specific instructions. Despite the branch name (ue5-main), these instructions should work well with UE 4.27.

Let me know how you go!

Kevin

Thanks a lot @Kevin_Ring for the response. I followed the exact steps from cesium-unreal/developer-setup-linux.md at ue5-main · CesiumGS/cesium-unreal · GitHub and compilation went all fine. But now I get the error attached in image.

Please suggest

@Kevin_Ring These are the warning logs on the console

Just to confirm, you packaged the plugin as described in the instructions, and then copied the resulting package to Plugins/Marketplace, right? As opposed to building the plugin in that directory to begin with.

I’m really not sure what might cause the error you’re seeing, but here are some things to try:

  • Create a new project and enable the Sun Position plugin. Does the project still work?
  • Now enable the Cesium for Unreal plugin. Does that work?

From your log, it looks like the root cause might be that the SunPosition plugin’s .so file is missing or can’t be loaded. So it might be worth looking at whether it somehow failed to compile, or if it’s missing some runtime dependency.

Kevin