wasabia / flutter_gl

cross-platform call OpenGL API by Dart through dart:ffi. Provides OpenGL with Texture Widget on Flutter.
243 stars 60 forks source link

iOS Error #35

Open cameralis opened 1 year ago

cameralis commented 1 year ago

The example app crashes on iOS after opening any of the examples.

The error message is the following:

flutter_gl/CustomRender.swift:149: Fatal error: Unexpectedly found nil while unwrapping an Optional value

Am I missing something? Please let me know!

wasabia commented 1 year ago

Hi @55nknown try real device ?

cameralis commented 1 year ago

Unfortunately, I don't have access to a real device, however if the problem is that I am using a simulator, would it be possible to get it working on it, because it would be way easier to develop on.

cameralis commented 1 year ago

@wasabia could you please help?

wasabia commented 1 year ago

Hi @55nknown

maybe OpenGL ES not work on iOS simulator,

aqsed commented 1 year ago

Hey I am also getting the same error it seems the issue is in when initialising FlutterGLPlugin()