I would like to integrate Cesium for Unity into a project that uses Unity 2019.4.4 and the built-in render engine (not URP or HDRP). Is there any old version or fork of Cesium for Unity that will work with Unity 2019 and the built-in render engine?
Cesium for Unity works with the built-in render pipeline. However, the earliest version it has ever supported is 2021.3. We’ve never tried earlier versions, so we can’t guess what problems you might run into.
Thanks for your reply.
I assumed that Cesium for Unity doesn’t work with the built-in renderer because it says so here.
Cesium for Unity works with both the Universal Render Pipeline (URP) and High Definition Render Pipeline (HDRP). However, it does not support Unity’s built-in renderer. If you choose the empty 3D project as your template, the datasets loaded by Cesium will not render properly.
As for what happens if you import Cesium into Unity 2019, you get:
Cannot perform upm operation: Unable to add package [file:D:/username/Downloads/com.cesium.unity-1.6.1.tgz]:
Package com.cesium.unity@file:D:\username\Downloads\com.cesium.unity-1.6.1.tgz has invalid dependencies or related test packages:
com.unity.mathematics (dependency): Package [com.unity.mathematics@1.2.0] cannot be found
com.unity.shadergraph (dependency): Package [com.unity.shadergraph@12.1.6] cannot be found [NotFound]
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
I tried installing the newest versions of those missing packages that were available for Unity 2019 and then setting those versions in package.json
, but that just gives a whole lot of Roslyn and JSON errors that I don’t understand. I guess I’m out of luck.
Hi @Tostiman,
That note form the tutorial is outdated, and we’ll fix it as soon as possible. Thank you for pointing it out.
Unfortunately, I’m not sure if the older versions of those packages can fully support the Cesium for Unity plugin. Maybe you’ll have better luck building from source? Otherwise, I’m afraid we can’t be much help. Since early development, we’ve always used Unity 2021.3+ as our minimum supported version.