You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Post upgrading Rive from 0.12.4 to 0.13.8, Rive is not getting initialized properly for android, ios and m-web platforms. DynamicLibrary.lookup is not getting initialized correctly. We've added dart:ffi as dependency in flutter package.
Steps To Reproduce
Steps to reproduce the behavior:
Call RiveFile.network method to get the Rive file with a cdn file Path.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to lookup symbol 'init': dlsym(RTLD_DEFAULT, init): symbol not found
#0 DynamicLibrary.lookup (dart:ffi-patch/ffi_dynamic_library_patch.dart:33:70) #1 init (package:rive_common/src/rive_text_ffi.dart:527:15) #2 init (package:rive_common/src/rive_text_ffi.dart) #3 initFont (package:rive_common/src/rive_text_ffi.dart:836:3) #4 Font.initialize (package:rive_common/rive_text.dart:477:7) #5 RiveFile.initializeText (package:rive/src/rive_file.dart:365:33) #6 RiveFile._initTextAndImport (package:rive/src/rive_file.dart:381:13) #7 RiveFile.network (package:rive/src/rive_file.dart:436:12)
Hi @nishitsplashmath, I can't reproduce this on my end. Could you please share a reproducible example project with us so we can investigate this further?
I see you also contacted our support if you prefer to share information through that channel.
Description
Post upgrading Rive from 0.12.4 to 0.13.8, Rive is not getting initialized properly for android, ios and m-web platforms. DynamicLibrary.lookup is not getting initialized correctly. We've added dart:ffi as dependency in flutter package.
Steps To Reproduce
Steps to reproduce the behavior:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to lookup symbol 'init': dlsym(RTLD_DEFAULT, init): symbol not found
#0 DynamicLibrary.lookup (dart:ffi-patch/ffi_dynamic_library_patch.dart:33:70)
#1 init (package:rive_common/src/rive_text_ffi.dart:527:15)
#2 init (package:rive_common/src/rive_text_ffi.dart)
#3 initFont (package:rive_common/src/rive_text_ffi.dart:836:3)
#4 Font.initialize (package:rive_common/rive_text.dart:477:7)
#5 RiveFile.initializeText (package:rive/src/rive_file.dart:365:33)
#6 RiveFile._initTextAndImport (package:rive/src/rive_file.dart:381:13)
#7 RiveFile.network (package:rive/src/rive_file.dart:436:12)
#8 MethodChannelContextPlugin.getRiveFile (package:context_plugin_platform_interface/src/method_channel_context_plugin.dart:187:14)
#9 SplashlearnRiveVm._loadRiveFile (package:flutter_app/utilities/splash_companion/splashlearn_rive_vm.dart:202:20)
#10 SplashlearnRiveVm.init (package:flutter_app/utilities/splash_companion/splashlearn_rive_vm.dart:162:9)
Expected behavior
RiveFile should be returned.
Device & Versions (please complete the following information)
e.g.:
Additional context
The text was updated successfully, but these errors were encountered: