flutter_gl icon indicating copy to clipboard operation
flutter_gl copied to clipboard

iOS Error

Open cameralis opened this issue 3 years ago • 7 comments

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!

cameralis avatar Oct 21 '22 19:10 cameralis

Hi @55nknown try real device ?

wasabia avatar Oct 22 '22 02:10 wasabia

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 avatar Oct 22 '22 09:10 cameralis

@wasabia could you please help?

cameralis avatar Oct 28 '22 18:10 cameralis

Hi @55nknown

maybe OpenGL ES not work on iOS simulator,

wasabia avatar Oct 29 '22 02:10 wasabia

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

aqsed avatar Nov 03 '22 10:11 aqsed

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

sejori avatar Jul 23 '24 13:07 sejori

iOS Simulator not support OpenGLES.ES3 。 not work

wangguanxiao avatar Oct 01 '24 07:10 wangguanxiao