What's happening
After importing ARCore Extensions and Cesium (1.24.0), my project won't compile. Turns out Google.XR.ARCoreExtensions.GeospatialCreator.Editor.asmdef is referencing an assembly called CesiumRuntime, but Cesium for Unity ships its assembly as CesiumForUnity from v1.21.0+. So the reference is broken and you get a bunch of compile errors.
How to reproduce
- Install Cesium for Unity.
- Import ARCore Extensions with Geospatial Creator.
- Wait for Unity to recompile.
- Errors show up.
The fix that worked for me
- Go to
Packages > ARCore Extensions > Editor.
- Open
Google.XR.ARCoreExtensions.GeospatialCreator.Editor.asmdef.
- Under References, swap
CesiumRuntime for CesiumForUnity.
- Let it recompile
- Errors are gone.
What's happening
After importing ARCore Extensions and Cesium (1.24.0), my project won't compile. Turns out
Google.XR.ARCoreExtensions.GeospatialCreator.Editor.asmdefis referencing an assembly calledCesiumRuntime, but Cesium for Unity ships its assembly asCesiumForUnityfrom v1.21.0+. So the reference is broken and you get a bunch of compile errors.How to reproduce
The fix that worked for me
Packages > ARCore Extensions > Editor.Google.XR.ARCoreExtensions.GeospatialCreator.Editor.asmdef.CesiumRuntimeforCesiumForUnity.