Hello, I am trying to build a MR project using Cesium for Unity for oculus quest3 headset, like the project Building an App for Magic Leap 2. Cesium can be displayed in streaming mode, but when packaged, it cannot be displayed in headset.How can I solve this problem?
unity editor:2022.3.50f1c1
Cesium For Unity:1.5.0
meta XR core SDK:71.0.0
Uploading: 8564aa4cefdc8e89a8741eff3adb01d.png…
Hi @cccylll, welcome to the community!
Sorry that you’re experiencing issues with the plugin. I’m not sure what could be going wrong from a glance, but it would help if you could try something first.
We have a sample Unity project includes levels and build instructions for VR on the Quest 2 (see VR01_CesiumDenver
). It’s possible that there’s a difference between Quest 2 and Quest 3 that prevents the app from building. So, we should first confirm whether you can load this sample level on your device. Could you let us know how it goes?
Thanks for your reply. I tried to package the VR01_CesiumDenver project into the headset according to the instructions in the document. In the headset, there are three dots in the middle of the screen indicating loading, which play in a loop on a black background. It shows that the application cannot be opened, and even the splan screen of the unity logo does not appear. The project we created ourselves runs normally in streaming mode, and the unity logo can appear and enter the application when the project is built into the headset, but the cesium part is not loaded.We also tried to build the simplest Cesium project into an Android phone. When the phone opened the app and loaded the Unity logo, it crashed.I would like to ask how to configure the Android version of Cesium for Unity?How should I troubleshoot and resolve this issue?
Thanks for your reply. I tried to package the VR01_CesiumDenver project into the headset according to the instructions in the document. In the headset, there are three dots in the middle of the screen indicating loading, which play in a loop on a black background. It shows that the application cannot be opened, and even the splan screen of the unity logo does not appear. The project we created ourselves runs normally in streaming mode, and the unity logo can appear and enter the application when the project is built into the headset, but the cesium part is not loaded.We also tried to build the simplest Cesium project into an Android phone. When the phone opened the app and loaded the Unity logo, it crashed.I would like to ask how to configure the Android version of Cesium for Unity?How should I troubleshoot and resolve this issue?
In addition, I just built the example again, and the console reported this warning
Please make sure that “Internet Access” is enabled in the Android player settings:
I’m not sure if a lack of internet access will prevent the Unity logo from even showing, but it’s worth a try.
If that doesn’t help, please share the Player log from the device with us. Your screenshot above only shows the log for the Editor.
Thank you very much, the problem has been solved, it is the network problem