# Compilation Errors: Unity 6.3 + ARCore Extensions + Geospatial Creator (CS0592 & CS0246)

**URL:** <https://community.cesium.com/t/compilation-errors-unity-6-3-arcore-extensions-geospatial-creator-cs0592-cs0246/44921>\
**Category:** Cesium for Unity\
**Created:** [January 21, 2026, 7:29pm UTC](https://community.cesium.com/t/compilation-errors-unity-6-3-arcore-extensions-geospatial-creator-cs0592-cs0246/44921 "2026-01-21T19:29:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oscar\_Rojas](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/oscar_rojas/32/32811_2.png) [@Oscar\_Rojas](https://community.cesium.com/u/Oscar_Rojas)\
**Post date:** [January 21, 2026, 7:29pm UTC](https://community.cesium.com/t/compilation-errors-unity-6-3-arcore-extensions-geospatial-creator-cs0592-cs0246/44921/1 "2026-01-21T19:29:39Z")

</div>

Hello Cesium and ARCore Community,

I am encountering blocking compilation errors while trying to set up **ARCore Extensions** with **Geospatial Creator** in **Unity 6.3**.

Despite having the packages installed, the `GeospatialCreatorCesiumAdapter` script (provided by Google ARCore Extensions) is failing to recognize the Cesium namespace, and there is also a C# attribute error in the ARCore source code.

**Environment:**

- **Unity Version:** 6.3

- \*\*ARCore Extensions Version:\*\*arcore-unity-extensions-1.52.0-arf6

- **Cesium for Unity Version:** 1.21

**The Issues:**

I am facing two distinct types of errors preventing the project from building:

**1. Syntax Error in ARCore Extensions (CS0592):** The compiler rejects the `[field: SerializeField]` attribute in the Google script, which seems to be an issue with the C# version compatibility in Unity 6.

> `Library\PackageCache\...\ARGeospatialCreatorOrigin.cs(87,10): error CS0592: Attribute 'SerializeField' is not valid on this declaration type. It is only valid on 'field' declarations.`

**2. Missing Namespace / Reference Errors (CS0246):** Even though I am setting up the Geospatial Creator, the adapter scripts cannot find the Cesium library references.

> `GeospatialCreatorCesiumAdapter.cs(26,11): error CS0246: The type or namespace name 'CesiumForUnity' could not be found` `GeospatialCreatorCesiumAdapter.cs(65,25): error CS0246: The type or namespace name 'Cesium3DTileset' could not be found` _(And multiple similar errors regarding CesiumGeoreference)_

**Context:** I expected these libraries to work out-of-the-box as standard dependencies. The `#if ARCORE_INTERNAL_USE_CESIUM` directive seems to be active, but the references are broken.

Has anyone successfully configured Geospatial Creator in Unity 6.3? Is there a specific branch of ARCore Extensions or a workaround for the `SerializeField` error in this Unity version?

Any guidance would be appreciated.

Thanks.

---

<div class="post-metadata">

**Author:** ![janine](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/janine/32/5135_2.png) [@janine](https://community.cesium.com/u/janine)\
**Post date:** [January 29, 2026, 7:24pm UTC](https://community.cesium.com/t/compilation-errors-unity-6-3-arcore-extensions-geospatial-creator-cs0592-cs0246/44921/2 "2026-01-29T19:24:49Z")

</div>

Hi @Oscar_Rojas, welcome to the community!

We don’t have any insight into the workings of Google ARCore extensions and Geospatial Creator, but perhaps your errors can be resolved by using different versions of Cesium for Unity.

Could you try downgrading to Cesium for Unity v1.19.0? We made some architecture changes in v1.20 and v1.21, so it’s possible that the bug comes from there. Let us know if that helps!

---

<div class="post-metadata">

**Author:** ![PacoAtG](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/pacoatg/32/33105_2.png) [@PacoAtG](https://community.cesium.com/u/PacoAtG)\
**Post date:** [February 23, 2026, 12:50am UTC](https://community.cesium.com/t/compilation-errors-unity-6-3-arcore-extensions-geospatial-creator-cs0592-cs0246/44921/3 "2026-02-23T00:50:28Z")

</div>

for posterity, I did downgrade to cesium v1.19 and it compiles, so do that if facing this issue  
I hadn’t tried 1.20 yet

---

<div class="post-metadata">

**Author:** ![Gonzalo\_Diaz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gonzalo_diaz/32/34323_2.png) [@Gonzalo\_Diaz](https://community.cesium.com/u/Gonzalo_Diaz)\
**Post date:** [July 10, 2026, 3:12am UTC](https://community.cesium.com/t/compilation-errors-unity-6-3-arcore-extensions-geospatial-creator-cs0592-cs0246/44921/4 "2026-07-10T03:12:56Z")

</div>

Can confirm, 1.19 allowed me to build

---

<div class="post-metadata">

**Author:** ![CisDutchRose](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/cisdutchrose/32/34353_2.png) [@CisDutchRose](https://community.cesium.com/u/CisDutchRose)\
**Post date:** [July 15, 2026, 1:28pm UTC](https://community.cesium.com/t/compilation-errors-unity-6-3-arcore-extensions-geospatial-creator-cs0592-cs0246/44921/6 "2026-07-15T13:28:39Z")

</div>

I think I have a working fix:

Go to: Packages \> ARCore Extensions \> Editor and open `Google.XR.ARCoreExtensions.GeospatialCreator.Editor.asmdef`.

Under References, change `CesiumRuntime` to `CesiumForUnity`.

This fixed all the errors on my end. Hopefully it works for you too. I’ll file a bug report on their Git page so they can hopefully implement this as an official fix.
