rive-app / rive-app/rive-android
Crash: app.rive.RiveInitializationException: Unable to create EGL context
Open
@ErikUggeldahl is already working on this.
Since Feb 11, 2026.
bug
triage
- Dominant language
- Kotlin
- Stars
- 538
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
Description
Crashlog:
Caused by app.rive.RiveInitializationException: Unable to create EGL context
at app.rive.core.RenderContextGL$Companion.createContext(RenderContext.kt:233)
at app.rive.core.RenderContextGL$Companion.access$createConfig$attr(RenderContext.kt:110)
at app.rive.core.RenderContextGL$Companion.access$createContext(RenderContext.kt:110)
at app.rive.core.RenderContextGL.getContext(RenderContext.kt:105)
at app.rive.core.RenderContextGL.<init>(RenderContext.kt:105)
at app.rive.core.CommandQueue.<init>(CommandQueue.kt:107)
at com.u.a.fu.fuvp.ViewModel.<init>(ViewModel.kt:571)
Caused by java.lang.Throwable: EGL_BAD_ALLOC
at app.rive.core.RenderContextGL$Companion.createContext(RenderContext.kt:233)
at app.rive.core.RenderContextGL$Companion.access$createConfig$attr(RenderContext.kt:110)
at app.rive.core.RenderContextGL$Companion.access$createContext(RenderContext.kt:110)
at app.rive.core.RenderContextGL.getContext(RenderContext.kt:105)
at app.rive.core.RenderContextGL.<init>(RenderContext.kt:105)
at app.rive.core.CommandQueue.<init>(CommandQueue.kt:107)
at com.u.a.fu.fuvp.ViewModel.<init>(ViewModel.kt:571)
Versions, Device, and Other Information
- Rive Android Runtime Version: 11.1.1
- Rive API:
CommandQueue()initialisation - Device: Pixel 9 Pro
- App Minimum SDK Level: Android SDK API Level 36
- App Target SDK Level: Android SDK API Level 35
- App NDK Level:
- Frequency: Rare as of now, however app update with the latest Rive sdk went live recently. Will update with more statistics as I have them.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.