I get a bunch of errors when im installing the cesium tarball package on unity 6.2 running on ubuntu, ive tried different versions of cesium but always get these following errors, what could be the fix?
I have same issue (not ubuntu, in windows evironment. I used self-built com.cesium.unity package v1.20 )
I wonder if you figured this issue out now.
for this issue. I wrote my opinion for your issue.
in the official released com.cesium.unity v1.20. There in no Linux directory in the Plugins directory. it means you have to build the package by yourself.
clone the repo and you need to setup for com.cesium.unity package build. (see this document https://github.com/CesiumGS/cesium-unity/blob/main/Documentation\~/developer-setup.md )
build command is just like this.
dotnet publish Reinterop~ -o .
dotnet run --project Build~ package --platform Editor --platform Linux
that’s it. I didn’t test this it is because I don’t have linux environmet for cesium for unity package build. but I think this can works.
Hi so i tried your way:
git clone --recurse-submodules GitHub - CesiumGS/cesium-unity: Bringing the 3D geospatial ecosystem to Unity
cd cesium-unity
dotnet publish Reinterop~ -o .
dotnet run --project Build~ package --platform Editor --platform Linux –unity-executable
But im getting below error for which i dont know the fix;
Aborting batchmode due to failure:
executeMethod class ‘BuildCesiumForUnity’ could not be found.
Argument was -executeMethod CesiumForUnity.BuildCesiumForUnity.CompileForEditorAndExit
executeMethod class ‘BuildCesiumForUnity’ could not be found.
Argument was -executeMethod CesiumForUnity.BuildCesiumForUnity.CompileForEditorAndExit
Curl error 42: Callback aborted
Killing ADB server in 0.026011 seconds.
[Physics::Module] Cleanup current backend.
[Physics::Module] Id: 0xf2b8ea05
Input System module state changed to: ShutdownInProgress.
Input System polling thread exited.
Input System module state changed to: Shutdown.
[Licensing::IpcConnector] LicenseClient-sonu-6000.2.14-notifications channel disconnected successfully.
[Licensing::IpcConnector] LicenseClient-sonu-6000.2.14 channel disconnected successfully.
AcceleratorClientConnectionCallback - disconnected - :0
info: Microsoft.Hosting.Lifetime[0]
Application is shutting down…
Cleanup mono
debugger-agent: Unable to listen on 33
Unhandled exception: System.Exception: An error (code 1) occurred while executing:
/home/sonu/Unity/Hub/Editor/6000.2.14f1/Editor/Unity -batchmode -nographics -projectPath /home/sonu -executeMethod CesiumForUnity.BuildCesiumForUnity.CompileForEditorAndExit -logFile /tmp/tmpJ0gsUx.tmp
at Build.Unity.Run(IEnumerable`1 args) in /home/sonu/cesium-workspace/cesium-unity/Build~/Unity.cs:line 81
at Build.Package.Run(Options options) in /home/sonu/cesium-workspace/cesium-unity/Build~/Package.cs:line 104
at Build.Program.<>c__DisplayClass0_0.b__1(ParseResult parseResult) in /home/sonu/cesium-workspace/cesium-unity/Build~/Program.cs:line 80
at System.CommandLine.Invocation.AnonymousSynchronousCommandLineAction.Invoke(ParseResult parseResult)
at System.CommandLine.Invocation.InvocationPipeline.Invoke(ParseResult parseResult)
Hi. I wonder if you read this.
Prerequisites
Prerequisites link to github the document
Packaging Cesium for Unity
Packaging Cesium for Unity. link to github the document
in windows in powershell do like this. ( Please adapt it to the Linux environment. )
$ENV:UNITY="C:\Program Files\Unity\Hub\Editor\2022.3.41f1\Editor\Unity.exe"
mkdir -p c:\cesium\CesiumForUnityBuildProject\Packages
cd c:\cesium\CesiumForUnityBuildProject\Packages
git clone --recurse-submodules git@github.com:CesiumGS/cesium-unity.git com.cesium.unity
cd com.cesium.unity
dotnet publish Reinterop~ -o .
dotnet run --project Build~ package --platform Editor --platform Linux
I wish you success
yes ive read through it but maybe it has got something to do with the unity version, ill try with an older version
add module. you have to install build module for Unity. This screen shot is old version of Unity Hub for Linux. please refer this.
Tried that too

