-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin doesn't work on HoloLens #502
Comments
According to my issue in https://community.cesium.com/t/does-this-plugin-support-hololens-platform-packaging/14095/3, I post my packaging record here. Although there is no error, there are some warnings. |
One more bug report regarding the HoloLens: https://community.cesium.com/t/no-terrain-shown-on-hololens-2/14250 I'm going to try to run a simple Cesium for Unreal level on the HoloLens 2, and I'll post my findings in this issue. |
Documenting what I've tried and what the results were, even though I haven't been able to figure out the problem: There are at least four ways of testing HoloLens 2 applications:
I was able to run the application with 1 and 2. More on that in a moment. For 3, I get this error in Unreal:
I know Unreal can talk to the device, because I can turn it off or restart it through Unreal. It fails to deploy the application, though. For 4, I can't launch Holographic Remoting. I get this error:
I haven't been able to figure out why Windows thinks Windows Holographic isn't installed. I'll start by trying to update Windows to get version 21H1, but I don't know how long that update will take, so I'm not doing it right now. Back to 1 and 2 (testing on the HoloLens and Emulator): Just as forum users described, I can see non-Cesium Actors in the level just fine, but I can't see any tilesets. I know from printing messages to the screen that the constructors and The process of retrieving logs can be mildly finicky, but it eventually works. Here are the errors I got on the HoloLens:
Also worth noting that when packaging the application for HoloLens, I get the following warnings (similar to the log posted here):
I didn't attempt to change If anyone has a better grasp of the errors and warnings in the logs above, let me know. |
Thanks for the writeup @getinthedamnbox. I suspect if you scroll up further in the log, you'll see the Cesium for Unreal plugin isn't being loaded at all. Can you confirm that? I'm not really sure why that would be, though. You said the HoloLens is ARM. It's 64-bit ARM, right? Is it Android? Does it use the same toolchain as regular Android builds? |
You're right, I don't see it listed as one of the mounted plugins. Here's the full log: CesiumHoloLens-backup-2021.07.01-19.29.14.log And here's the log from packaging the application for HoloLens: CesiumHoloLens.log
It's 64-bit ARM, but to be honest I don't know enough about toolchains to answer your other questions. What I know is that in order to package and deploy the application, I had to ensure Visual Studio Build Tools had the component |
Thanks @getinthedamnbox. Yeah that definitely doesn't sound like "normal" Android, at least. So we probably need a special build of cesium-native. |
@kring Alban had some insights:
|
any update regarding the issue |
No update. If someone wants to attempt this, follow the Developer Setup instructions, adjusting them to build cesium-native for the HoloLens platform, probably by defining a cmake toolchain. It is not currently on our roadmap, but we would welcome a pull request from the community. |
Sure will try it. |
If we knew the exact steps, it would already be done. I'm afraid I don't know, and you'll have to figure it out, or wait for someone else to figure it out. From what I can see in your VS Code window, you're just building cesium-native for Windows, so that's not going to help. You need to build it for HoloLens by configuring a toolchain appropriately, but I don't know any more details than that. I'm not sure what that Eigen3 page is. It's not part of cesium-native, but maybe one of our third-party libraries uses it indirectly. |
Great. Just want to confirm is this for desktop hologram or android hologram? Although i think its for hologram (doesn't matter platform) but want to clear ambiguity of my senior. |
Can I access cesium for unreal plugin while connecting HoloLens remotely? |
Yes, Cesium for Unreal should already working with HoloLens remoting. |
Great |
Possibly related to the android build issues (#190 #472 ), a user on the forum reported issues packaging for HoloLens. Another forum user reported similar issues with launching a packaged project, indicating that the problem arose after adding Cesium World Terrain.
I don't think Hololens has been extensively tested with the plugin, but as far as I know it should work in general. Please add any relevant logs or errors to this issue.
The text was updated successfully, but these errors were encountered: