Crashing when Open Level(BP Function) in Oculus Quest 2

Hi, and happy new year.

I have packaged my project and successfully ran it in Oculus Quest 2.
but almost every time I try to move to another level using Blueprint function ‘open level’, the game crashes.
The crash doesn’t happen when I package my game for Windows PC and play there. I can successfully do open level with PC.

I used UE4 4.26 version and Oculus Quest 2.

Does anyone know what are the things that I have to check when such a crash happens?
Below is the error code that I got through Android Studio.

Hope there’s someone who can help me with this problem.

Thank you.

Jihoon

2022-01-10 18:23:59.977 6233-6233/com.VRLLAR.Amollang.project E/mollang.projec: Unknown bits set in runtime_flags: 0x8000
2022-01-10 18:24:01.026 6233-6273/com.VRLLAR.Amollang.project E/TREX: Package ‘com.oculus.superres’ was not found!
2022-01-10 18:24:01.026 6233-6273/com.VRLLAR.Amollang.project E/TREX: Package com.oculus.superres has an invalid signature! (Debugging)
2022-01-10 18:24:01.026 6233-6273/com.VRLLAR.Amollang.project E/TREX: Skipping load of package com.oculus.superres due to an invalid signature!
2022-01-10 18:24:01.612 6233-6410/com.VRLLAR.Amollang.project E/libEGL: eglGetCompositorTimingANDROIDImpl:2430 error 300d (EGL_BAD_SURFACE)
2022-01-10 18:24:01.613 6233-6410/com.VRLLAR.Amollang.project E/libEGL: eglGetCompositorTimingANDROIDImpl:2430 error 300d (EGL_BAD_SURFACE)
2022-01-10 18:24:02.075 6233-6273/com.VRLLAR.Amollang.project E/TREX: Package ‘com.oculus.superres’ was not found!
2022-01-10 18:24:02.075 6233-6273/com.VRLLAR.Amollang.project E/TREX: Package com.oculus.superres has an invalid signature! (Debugging)
2022-01-10 18:24:02.075 6233-6273/com.VRLLAR.Amollang.project E/TREX: Skipping load of package com.oculus.superres due to an invalid signature!
2022-01-10 18:25:01.451 6233-6410/com.VRLLAR.Amollang.project A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xad8b502c in tid 6410 (RHIThread), pid 6233 (main)

2 Likes

Hey, did you figure it out? I’m having similar problem. in my case when I enter another level, it takes like one or two seconds before crashing. In the level I created as a menu it runs just fine, but the main level always crashes when it starts.

I can offer a suggestion…
In android builds, all level open calls would fail with something similar when the levels weren’t in the project’s root directory.
OQ2 is a portable (mobile) sort of thing.
com.oculus - being the dead giveaway of that.

Try the same solution? Make sure the levels are in the base content directory.
IF it works / or does not, update this so people don’t go thinking this is the solution to it…

1 Like

I’m sorry but what exactly do you mean by ‘base content directory’? You mean the Content folder? By now my levels are in a folder I called Maps inside Content folder.

Yes, directly in the content folder. not in a Maps folder… For whatever reason mobile build (up to .25, haven’t tested android on .27 yet) will just crash if the level is in a different folder.

Hey I fixed the problem!
I didn’t change the map location though. My problem I figured out it was the geometry! I was using landscape and that’s what was causing the issue. Replaced the landscape with an imported geometry and it worked just fine.
I’ll keep in mind the map location as well, thanks for the hint.

1 Like

To everyone who is struggling with level streaming crashes on Quest 2, THIS is the answer! Thank you so much, I had tried so many different things, and now moving the levels to the root Content folder has simply fixed this impossible crash

i have this almost exact problem (the address is different and says (RenderThread) instead of RHIThread). i tried moving the maps to the root folder and still didn’t work.
on ue 5.1 from oculus.