Open Remering opened 10 months ago
Hi @Remering,
Not sure if you have solved your issue yet, but I noticed in your viewer.dart code you have
if (kIsWeb) {
await glPlugin.prepareContext();
}
please make this
Future.delayed(const Duration(milliseconds: 100), () async {
await glPlugin.prepareContext();
});
this might fix the crashing issue since prepareContext is needed for all platforms.
Hope this helps.
Example code is https://github.com/Remering/three_dart_playground, may be I don't know how to use this library, please help me. Thanks a lot!