CesiumForUnityNative error on vanilla setup!?

Hi friends, long time Unity dev, currently using Unity 2022.3.9 on macOS 10.14.

I followed the steps for the QuickStart and was trying to evaluate Cesium for our software. Once the package is installed, I immediately get slammed with error messages – screenshot attached.

DllNotFoundException: CesiumForUnityNative-Editor assembly:<unknown assembly> type:<unknown type> member:(null)
Reinterop.ReinteropInitializer..cctor () (at ./Library/PackageCache/com.cesium.unity@1.6.1/Editor/generated/Reinterop/Reinterop.RoslynSourceGenerator/ReinteropInitializer.cs:280)

Hello, I just tested package 1.6.1 in Unity 2022.3.9 on both Intel and Silicon and it worked.

Does Cesium Unity Samples work? Or importing into a blank project?

Hi Joseph, appreciate your support on this – we’re looking forward to getting started integrating with Cesium.

I created a fresh blank URP project and repeated the QuickStart and same result.

Best guess is a macOS 10.14 issue? Can’t see how that is leading to this but I suspect that’s the repro for this over there. I recognize it’s older, but when it comes to production we have our methods. Hopefully, y’all get that and already want to keep the requirements flexible.

Thanks Joseph

@Drew55, we see that Unity 2021.3 runs on macOS 10.13 and above. We will look into making the plugin compatible with the older versions.

We created an issue here: Target macOS 10.13+ when compiling the native code · Issue #367 · CesiumGS/cesium-unity · GitHub

Thanks

Hello, I wrote a fix for it ( Make the project compatible with OSX 10.13 by joseph-kaile · Pull Request #368 · CesiumGS/cesium-unity · GitHub) but I don’t have an older Macintosh to test it myself. I was wondering if you could help me out by trying it on your computer and letting me know if it works. The link to the fix is here ( make the project compati le with osx 10.13 · CesiumGS/cesium-unity@c9a7d8a · GitHub at the bottom where it says MacOS package. To use it, you need to import the package as a tar file.

I really appreciate your help and feedback.

Your attention on this is appreciated, thank you and glad I am “helping”. :smiley:

Struggling to try this build change as I see no com.cesium.unity/native dir. Been a rough week here so unfortunately not able to pony up the time to get into learning the build steps. If that’s documented, I’ll try it or otherwise happy to take the new build products you have and I can drop them in here to confirm the fix.