Ayushanbhore / Unreal-Quest3-PassthroughSample

A sample to create your own Unreal Passthrough Project for Meta Quest 3, Meta Quest Pro. Works with Meta Quest 2 but it is not recommended. Use it to learn Unreal Engine
51 stars 11 forks source link

App Crash at launch #4

Closed notraore closed 11 months ago

notraore commented 11 months ago

Hey @Ayushanbhore,

just tested the app on my Meta Quest 3 and i'm having an issue -> The app crash at launch

I don't know if the app work only for Quest Pro

Did you try it on Quest 3 ?

Ayushanbhore commented 11 months ago

Dear @notraore,

This project was specifically designed for the Meta Quest 3, and it has been thoroughly tested on that platform. Now, I would appreciate it if you could provide details about the Android settings you are using to build for the Quest 3. It's important to ensure that we are using compatible settings, as an incompatible APK might lead to functionality issues.

Well, I am working on a newer repository with more toolkits like Passthrough, Scene and the latest Mesh API Development exclusively for meta Quest 3 which will go live in next three days which will be surely be an upgrade to this project. So try fixes in the mean time and once it goes live you can use that to create your Mixed Reality Apps.

Thank you!

notraore commented 11 months ago

Hey @Ayushanbhore,

Oh, ok so maybe there's something wrong with my setting. So for more details I'm building Android_ASTC

Here is the MetaXR settings : UnrealEditor_AxJfmc08RG

Here is the android SDK settings : UnrealEditor_dSZIvvYn27

Here is my Android build settup : UnrealEditor_y7sbK6BDO2

I already had an issue before (With Quest 2) with Vulkan that used to crashed and I thought it could be it, but OpenGL/ES3.2 doesn't compile.

If you need more infos I can provide more screenshot

I'll be more than happy to test your new repository when it goes live ! Looking forward to create XR App

Thank you for your answer and thank you to provide tools like this 👍

ghost commented 11 months ago

Hi, I had the same issue of the quest 3 app crashing at launch. I followed the instructions at the link below and was able to run the app with no problem in Unreal 5.2.

https://communityforums.atmeta.com/t5/Quest-Development/UE5-2-1-Had-some-problems-building-to-Quest-3-and-VR-Preview/m-p/1094678

I had to sign up on oracles website and download the correct java and install it. Then point to the C:\Program Files\Java\jre1.8.0_202\ folder for JAVA in unreal and also I had to copy the tools.jar file from C:\Program Files\Android\Android Studio\jre\lib.

I also had to change the environment setting for JAVA to point to C:\Program Files\Java\jre1.8.0_202. Windows key/settings/system/about/ click the advanced system settings then environment variables.

notraore commented 11 months ago

@meba84a6 Thank you for your help ! I'll try that now !

notraore commented 11 months ago

@meba84a6 Enabling MetaXR + OpenXR plugin seems to cause the crash.

I'll investigate more into it today