a month ago - last edited a month ago
Hello everyone,
I'm developing a VR game for the Quest 2 using Unreal Engine 5. The game is quite graphically demanding, with two levels each containing about 1,000 actors, instances, etc. I managed to get the framerate to 72 FPS, though.
The Issue:
I'm experiencing random crashes when launching the app on the Quest 2. Specifically, the game becomes unresponsive shortly after starting, and this happens intermittently—not every time I launch the app. I can only run the game when the system ask you to force the game to close.
I have been struggling with this issue for many weeks now, but no matter what I do, I can't resolve it. It seems to me that it could be a memory problem. Specifically, I have the impression that the problem occurs more often when I close the game with several actors loaded. It's like the game is unable to close properly, and the next time I open it, the game doesn't open and becomes unresponsive.
I have tried reducing the levels' complexity, and this seems to reduce the problem. But it doesn't make sense to me, as the game doesn't crash during runtime, and the framerate is smooth.
I'm using version 5.4 from the Oculus branch.
Edit: I tested the project in Unreal Engine 5.4 Epic version and confirm that this error does not occur. It’s a shame, as the performance is slightly worse, but the startup crashes do not happen.
2 weeks ago
Know it's been two weeks but my initial recommendation would be to console command "Stat Memory" and see if you have anything growing over time. If you're Memory is already hitting limits at launch any extra pressure will freeze or crash you out I suspect. Good luck!