Skip to content

## Bug: App crashes on Android 16 (Samsung Galaxy S24 FE) during installTurboModule #30

@shaunieboi92

Description

@shaunieboi92

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

  1. Install @borndotcom/react-native-godot 1.0.1
  2. Run on a device with Android 16
  3. 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 opengl3 and --rendering-method gl_compatibility to createInstance — crash happens before createInstance is reached
  • Changing project.godot renderer to gl_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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions