Web MissingPluginException(No implementation found for method unity#resumePlayer on channel plugin.xraph.com/unity_view)
Example project is throwing exception: MissingPluginException(No implementation found for method unity#resumePlayer on channel plugin.xraph.com/unity_view) on chrome when displaying UnityWidget. Release build does not resolve the issue. If i miss some steps in the web setup could you provide those ?
Have a nice day :)
Steps to reproduce the behavior:
- Build unity
- cd in the example project
flutter run -d chrome- Click on Simple Unity Demo
- Widget crash
Unity:
- Version 2022.1.2f1
- OS Linux
- Export WebGL
Flutter
- 2.10.5
- Tried 3.0.1
Stack trace:
Error: MissingPluginException(No implementation found for method unity#resumePlayer on channel plugin.xraph.com/unity_view)
at Object.throw_ [as throw] (http://localhost:33771/dart_sdk.js:5391:11)
at platform_channel.MethodChannel.new._invokeMethod (http://localhost:33771/packages/flutter/src/services/restoration.dart.lib.js:1611:21)
at _invokeMethod.next (
Follow and upvote these Fixes:
- https://github.com/juicycleff/flutter-unity-view-widget/pull/616
- https://github.com/juicycleff/flutter-unity-view-widget/pull/617
- https://github.com/juicycleff/flutter-unity-view-widget/pull/618