-
Notifications
You must be signed in to change notification settings - Fork 591
Description
I just tried out the new 4.0.1 version and I instantly see that beautiful red background with yellow font error message instead of my Unity container:
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building PlatformViewLink(dirty, state: _PlatformViewLinkState#c0bb1):
'package:flutter/src/widgets/platform_view.dart': Failed assertion: line 1024 pos 15: 'gestureRecognizers != null': is not true.
The relevant error-causing widget was:
UnityWidget file:///C:/Users/XYZ/AndroidStudioProjects/flun/lib/main.dart:97:20
When the exception was thrown, this was the stack:
#2 new AndroidViewSurface (package:flutter/src/widgets/platform_view.dart:1024:15)
#3 MethodChannelUnityViewFlutter.buildView. (package:flutter_unity_widget/src/device_method.dart:135:18)
#4 _PlatformViewLinkState.build (package:flutter/src/widgets/platform_view.dart:837:40)
#5 StatefulElement.build (package:flutter/src/widgets/framework.dart:4744:28)
#6 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4627:15)
As soon as I go back to 4.0.0, it perfectly works.
Windows 10
Unity 2020.1.17f
Android Studio 3.6.3
Flutter 1.22.6