wasabia / flutter_gl

cross-platform call OpenGL API by Dart through dart:ffi. Provides OpenGL with Texture Widget on Flutter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS Error

cameralis opened this issue · 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!

Hi @55nknown
try real device ?

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.

@wasabia could you please help?

Hi @55nknown

maybe OpenGL ES not work on iOS simulator,

commented

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

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