O3DE crashes when loading default scene on Samsung S23 FE
Describe the bug
When launching O3DE with the startup level set to the default o3de scene (shader ball, ground plane, directional light), The app will open up to the O3DE title screen for a brief moment before crashing.
Assets required This issue was produced on the default o3de scene, no special assets are needed.
Steps to reproduce Steps to reproduce the behavior:
- Create an O3DE project and set the startup scene to the default o3de scene (done by editing the load_level.setreg file)
- Create and build O3DE project for android
- Deploy project to Samsung S23 FE
- Launch application
- See error
Expected behavior Application loads into the default o3de scene
Actual behavior Application crashes at the title screen before actually loading the scene.
Log Full logcat output can be found here: https://gist.github.com/GanidhuAbey/05cfcd8951fef06427da65b250a6b37e
The last error before crash was the following:
--------- beginning of crash
2024-08-21 14:59:11.247 23133-23161 LMBR org.o3de.Project2409 I > r_streamingImageMipBias : 0
2024-08-21 14:59:11.268 23133-23161 libc org.o3de.Project2409 A Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 23161 (Thread-3), pid 23133 (3de.Project2409)Callstack
Here is callstack from the crash log: https://gist.github.com/GanidhuAbey/18ed0bba9162d89d869c7299ce3d2cf3
With Device Validation
When enabling device validation I found that the issue changes. The app will no longer crash but instead will indefinitely hang on the o3de title screen, with the following validation messages printing every ~10 seconds:
2024-08-29 10:16:38.194 17443-17473 <no-tag> org.o3de.Project2409 I [Error] (vkDebugMessage) - [ERROR][Validation] Validation Error: [ UNASSIGNED-VkSemaphore-state-timeout ] Object 0: handle = 0x908683000000001d, type = VK_OBJECT_TYPE_SEMAPHORE; | MessageID = 0x57e65a33 | Timeout waiting for timeline semaphore state to update. This is most likely a validation bug. completed_.payload=0 wait_payload=1
2024-08-29 10:16:38.194 17443-17473 LMBR org.o3de.Project2409 I $4[Error] (vkDebugMessage) - [ERROR][Validation] Validation Error: [ UNASSIGNED-VkSemaphore-state-timeout ] Object 0: handle = 0x908683000000001d, type = VK_OBJECT_TYPE_SEMAPHORE; | MessageID = 0x57e65a33 | Timeout waiting for timeline semaphore state to update. This is most likely a validation bug. completed_.payload=0 wait_payload=1Found in Branch Found in the development branch.
Commit ID from o3de/o3de Repository 591edfc0512f6c633112ef36c52fbf13c263de29
Desktop/Device (please complete the following information):
- Device: Samsung S23 FE
- OS: Android
- Version 14
- CPU Qualcomm SM8450 Snapdragon 8 Gen 1
- GPU Adreno 730
- Memory 8GB
Source: o3de/o3de