I am currently setting up Cesium for Unity on the following environment:
-
Unity Version: 2022.3.55f1 (LTS)
-
Operating System: Ubuntu 24.04 (Linux)
-
Target: Native plugin build with IL2CPP
During the setup, I encountered issues while building the Cesium native components. The build fails due to missing auto-generated headers such as:
-
DotNet/Unity/Mathematics/double4x4.h
-
DotNet/CesiumForUnity/CesiumCameraManager.h
From my understanding, these files should be generated through Unity’s IL2CPP binding pipeline when rebuilding the native code. However, the generation step does not seem to complete successfully in my environment.
I have already:
-
Installed Linux IL2CPP Build Support via Unity Hub
-
Switched scripting backend to IL2CPP
-
Attempted Cesium → Rebuild Native Code inside Unity
-
Installed required build tools (clang, cmake, ninja, build-essential)
Despite this, the generated/DotNet headers are not produced, causing native compilation to fail.
Could you please guide me on:
-
Any additional dependencies required specifically for Ubuntu 24.04
-
Known compatibility issues with this OS version
-
Recommended steps to ensure IL2CPP bindings generate correctly for Cesium
-
Whether there is an official setup guide for Linux native builds
I am working on a geospatial visualization project and would greatly appreciate your support in getting the environment configured correctly.