wasabia / flutter_gl

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

iOS Error #35

Open cameralis opened 2 years ago

cameralis commented 2 years 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 2 years ago

Hi @55nknown try real device ?

cameralis commented 2 years 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 2 years ago

@wasabia could you please help?

wasabia commented 2 years ago

Hi @55nknown

maybe OpenGL ES not work on iOS simulator,

aqsed commented 2 years ago

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

sejori commented 4 months ago

Bump on this, makes it a no go if there's no compiling on iOS simulator.

wangguanxiao commented 2 months ago

iOS Simulator not support OpenGLES.ES3 。 not work