-
Notifications
You must be signed in to change notification settings - Fork 112
## Bug: App crashes on Android 16 (Samsung Galaxy S24 FE) during installTurboModule #30
Copy link
Copy link
Open
Description
Bug: App crashes on Android 16 (Samsung Galaxy S24 FE) during installTurboModule
Environment
- Library version: @borndotcom/react-native-godot 1.0.1
- Godot AAR: godot-debug-4.5.1.migeran.2
- Device: Samsung Galaxy S24 FE (SM-S721B)
- Android version: 16 (SDK 34)
- React Native / Expo: Expo with expo run:android
- Architecture: arm64
Description
The app crashes immediately during NativeGodotModule.installTurboModule() before createInstance is ever called. This appears to be a crash inside libgodot_android.so during Godot engine initialization on Android 16.
Steps to Reproduce
- Install @borndotcom/react-native-godot 1.0.1
- Run on a device with Android 16
- App crashes on startup before any Godot scene loads
Logcat Output
I ReactNativeJS: Calling NativeGodotModule.installTurboModule()
--- crash ---
F DEBUG: signal 5 (SIGTRAP), code 1 (TRAP_BRKPT)
F DEBUG: #00 pc 000000000203e02c libgodot_android.so (BuildId: 5b7b4130e0b41e89517304054c9a56ca60253b71)
F DEBUG: #07 GodotModule::get_or_create_instance(...)+1744
What I've Tried
- Passing
--rendering-driver opengl3and--rendering-method gl_compatibilitytocreateInstance— crash happens before createInstance is reached - Changing
project.godotrenderer togl_compatibility— no effect since crash is in the AAR itself - Clean rebuilds and fresh installs
Expected Behavior
Godot engine initializes successfully and the view renders.
Notes
Android 16 is a recent release. This may be a binary compatibility issue between the prebuilt libgodot_android.so AAR and Android 16's runtime. The crash does not occur during createInstance but during installTurboModule, suggesting the issue is in early engine initialization before any user arguments are processed.
Happy to provide any additional diagnostics if helpful.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels