ximi22
March 8, 2023, 1:35am
1
I have seen related information on the Cesium for Unreal forum. I’m wondering if this has been addressed for Cesium for Unity?
Greetings, I wish to move Cesium to the HoloLens2, but the packaging fails like the previous Android platform
1 Like
janine
March 8, 2023, 6:32pm
2
Hi @ximi22 ,
Cesium for Unity does not currently support HoloLens. I believe there was another forum user who was trying to get it to work, but unfortunately they haven’t opened a draft PR with their changes.
@janine and @ximi22
Yes, we are still planning to try to get Cesium for Unity working on HoloLens. We just haven’t yet gotten the time to look deeper into it. But it is our plan to take the time now in the foreseeable future. So hopefully, we could make a pull request before too long.
3 Likes
Hi @JakobAnarkyLabs , I just wondering are there any update of Cesium for Unity support Hololens?
We just opened a pull request that adds support for UWP / HoloLens:
CesiumGS:main
← CesiumGS:uwp
opened 11:33AM - 04 Aug 23 UTC
It supports both ARM64 and x64 processors. UWP apps can be run on normal Windows… and distributed on the Windows Store, as well.
Some notes / setup instructions:
1. Add "Universal Windows Platform Build Support" to your Unity version via the Unity Hub.
2. Add the "Universal Windows Platform Development" workload to Visual Studio using its installer.
3. Add the "C++ (v143) Universal Windows Platform tools" optional component. (if you're using VS2019 it will be v142 instead of v143)
4. The "Architecture" dropdown in the Universal Windows Platform Build Settings doesn't seem to actually matter. The native code is build for both x64 and ARM64. 32-bit platforms aren't supported. The Visual Studio solution generated by Unity can be used to build for either platform, regardless of what was selected here.
5. Be sure that the `InternetClient` Capability is enabled under Project Settings -> Player -> Universal Windows Platform tab -> Capabilities. Otherwise, we won't be able to load tilesets from the internet.
If you want to try it prior to the next official release, you can get a pre-built version from that branch here:
https://github.com/CesiumGS/cesium-unity/suites/14876684397/artifacts/847462724
Extract the .tgz file and then install it using the Unity Package Manager.
1 Like