Skip to content

[Bug] Rive-native openGL crashes the android app when using rive renderer [Question] How do I control rive-native RivePlayer playback? #463

@ssandr1kka

Description

@ssandr1kka

Guys I see a little issue with rive renderer, but really I rather have a question cuz flutter render works just fine even with feathering...

First of all good job everyone, I have turned into a Rive Addict, your tech's sooo coool and I like my app to rely a lot on it...

Okay so far I've integrated rive-native,
1 - I see that sometimes Android (API 35) + Flutter (3.27.1) is crashing when rive render is set to rive.Factory.rive... This is C++ renderer right?
Here is trace:

E/RiveNative(16823): (12293) EGL_BAD_CONFIG - ../../../../platform/android/rive_native_android.cpp:102
E/libEGL  (16823): call to OpenGL ES API with no current context (logged once per thread)
W/tsy.android.de(16823): 0xebadde09 skipped times: 0
F/libc    (16823): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x660 in tid 16832 (FinalizerDaemon), pid 16823 (tsy.android.dev)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/dreamqltesq/dreamqltesq:9/PPR1.180610.011/G950USQU8DUJ1:user/release-keys'
Revision: '12'
ABI: 'arm64'
pid: 16823, tid: 16832, name: FinalizerDaemon  >>>
and then stack trace of android crash, which will be no help

Something with OpenGL
^ No problem whatsoever when I switch to rive.Factory.flutter

  1. I've been looking into example cases, tho I cant seem to find how I can control playback with RivePlayer, located under example/lib, any help please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions