Hi, I have a crash issue to ask about Target API 34.
My current project is using editor version prior to Unity2021, actually Unity2019/2020. To meet Target API 34 Requirement, I have to chose this way according to official guide:
“Export your game as an Android Studio Project. Update the requirements to minimum AGP 7.2.0 / Gradle 7.2.0 / Java 11”
For the Android Studio Project, in addition to customizing AGP/Gradle/Java, I also changed the NDK version at the same time (using Unity2021.3.42f1’s default configuration), as follows:
- AGP → 7.4.2
- Gradle → 7.5.1
- Java → Java 11
- NDK → 21 (/Unity/Hub/Editor/2021.3.42f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK)
But my product suffered the following Crash (see from Play Console) after going live:
[split_config.armeabi_v7a.apk] SIGBUS
[split_config.arm64_v8a.apk] SIGSEGV
My question is: Are these crashes related to NDK Custom? If so, will changing my Android Studio Project to use the default NDK19 that comes with Unity2019/2020 solve the problem?
(One additional piece of information that may be helpful is that the projects that suffered these crashes all contain the Firebase sdk unity11.9.0, while a project that does not contain the Firebase SDK did not experience the crashes at this time.)