Open k0uhe1D opened 1 year ago
The known issues list is pretty old, I believe some are even from before Unity 2019.
People trying to use ARCore or ARFoundation will need OpenGLES 3, otherwise they get crashes or build errors.
So this might have been added just to prevent too many questions and issues related to AR.
The example Unity project has some AR packages installed, so the example does need it.
You might be fine with other settings if you're not using AR.
I can't help with production experience here as all my apps using this have had some kind of AR component.
Hello, thank you for the information! I was able to reproduce the issue in my test project and would like to share my findings. I will continue to investigate this issue and work towards a resolution. If you have any additional information, please let me know.
Flutter
% flutter doctor
[!] Flutter (Channel stable, 3.7.11, on macOS 13.3.1 22E772610a darwin-arm64, locale
ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.78.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
Unity
Unity 2022.2.12f1
Device
Google pixel6a / Android OS 12
Google pixel 3 / Android OS 12
Galaxy A20 SC-02M
With VULKAN | Without VULKAN (OpenGLES3) | |
---|---|---|
Google pixel 3 | Launches | Launches |
Google pixel 6a | Crashes | Launches |
Galaxy A20 SC-02M | Crashes | Launches but doesn't function (spec-related issue?) |
//TODO: Add a crash log
Upon examining the crash logs in logcat, it appears that an issue with memory occurs during VULKAN initialization, resulting in an out-of-memory crash. As a Unity mobile engineer, my knowledge of native development is limited, and I am unsure if I can resolve this issue. However, I will continue to work on this problem and seek advice from our experienced graphics engineers in-house.
Amazing work @k0uhe1D please let as know if you find a solution. Thanks!
Hello! I came across the known issue mentioned in the repository: "Unity freezes and crashes on Android, please use OpenGL3 as Graphics API." I am interested in learning more about this issue and would greatly appreciate any additional information or context that you can provide. Could you please elaborate on the following points:
Thank you in advance for your assistance and any information you can provide. I appreciate your hard work on this open-source project and look forward to your response. Best regards,