CesiumGS / cesium-unreal-vr-tutorial

Unreal Engine project, assets, and code used in the Cesium for Unreal VR Tutorial Series
Apache License 2.0
32 stars 5 forks source link

cesium unreal vr applicaiton cannot run on piconeo3 vr device #30

Open martin416 opened 2 years ago

martin416 commented 2 years ago

I have a piconeo3 vr device, and develop with Unreal XR SDK,other ue4 applicaiton can run well in pico neo3. but my cesium unreal vr applicaiton can only preview in UE4 editor,when i package the project to apk and install it in pico neo3,the screen is black and nothing is displayed in pico neo3. i want some help,thanks!

kring commented 2 years ago

@martin416 are there any messages in the output log? I've never used a piconeo3. Is it Android-based? Probably the first thing I'd try is enabling "Use Mobile Rendering" on the CesiumSunSky under Cesium -> Mobile. I'm going to close this, but please follow up on the community forum.

kring commented 2 years ago

Sorry I read this too quickly and thought it was a problem with Cesium for Unreal generally rather than the VR Tutorial. I'll reopen this issue in case other folks who worked on the VR Tutorial have any ideas.

CesiumBen commented 2 years ago

@martin416 Thank you for raising the issue, we have only tested with Meta Quest 2. I would give what @kring suggested and please let us know if you're still experiencing issues.

martin416 commented 2 years ago

thanks! piconeo3 is a Android-based vr device, and package project as Android (ASTC). i used ue4.26 and cesium unreal plugin, learn from Building a VR Application,and i enabled "Use Mobile Rendering" on the CesiumSunSky, everthing is ok in ue4 editor,but when i package the project to apk and install it in pico neo3,the screen is black and nothing is displayed in pico neo3. if you need some logs,tell me how to get it.

martin416 commented 2 years ago

i have 2 test:

1.build a ue4 demo app without cesium unreal plugin,package it and install it in pico neo3,everything is ok.

2.build a cesium unreal demo app,use 2 DirectionalLights and 1 Sphere in front of PicoXRPawn,UE4 editor when i play in ue4 eitor,i can see the Sphere play in ue4, but package and install it in pico neo3,the screen is black and nothing is displayed in pico neo3. !

CesiumBen commented 2 years ago

Hi @martin416!

Please check out our latest tutorial for "Build for Quest". While the platforms are different you might have better luck cross checking your non-Oculus settings with the settings in the latest tutorial to see if there is anything that stands out.

The BuildForQuest level contains some light optimizations and with the latest updates from Cesium For Unreal, you would also see better performance.