Getting Build failed due to compilation issues in scripts on Universal Windows Platform (UWP)

Just a quick update on this issue…

I have followed the developer guide (cesium-unity/developer-setup.md at main · CesiumGS/cesium-unity · GitHub) and have managed to get things up and running for the editor, and it seems to be able to compile also the native stuff for the platforms included in the shipped version. However, it does not work out of the box for UWP.

I think that I have managed to get some steps forward by adding conditional compile sections for UNITY_WSA in the ConfigureReinterop.cs scripts and by modifying CompileCesiumForUnityNative.cs slightly, but the native build process seems to stop prematurely when generating code for CesiumGeospatial.vcxproj. I guess that I am missing some stuff to make it work.

BTW I am trying to get Cesium running on Hololens 2 with an ARM64 build (Unity supports 4 different architectures on UWP).

I can see that there now is a pull request for supporting Android x86_64 (Magic Leap 2) which is great. It would be nice if you would also consider adding the UWP build capability as well.

We are currently using Mapbox in our Hololens 2 project, but we are looking for alternatives such as Cesium or ArcGIS. Cesium looks very promising, and we like the openness of it (open source etc.) but it would require that we can build for UWP ARM64.

  • Kind regards, Jakob