You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The aim of this fork is to publish bug fixes and improve compatibility with newer Flutter and Unity versions.
5
+
These changes come from the master branch of the original [Github repo](https://github.com/juicycleff/flutter-unity-view-widget), which is far ahead of it's latest pub.dev release.
7
6
8
-
[![Watch on GitHub][github-watch-badge]][github-watch]
9
-
[![Star on GitHub][github-star-badge]][github-star]
Don't expect major new features or rewrites for now, as this plugin will try to stick close to the original.
9
+
If you are looking for a full rewrite of the Unity integration, try [flutter_embed_unity](https://pub.dev/packages/flutter_embed_unity) instead.
10
+
11
+
12
+
* Plugin versions `2022.x.y` should support Unity 2019.4 up to Unity 2022.3.
13
+
The main focus is on Unity 2022.3 LTS.
14
+
* Plugin versions `6000.x.y` support Unity 6 and up.
15
+
16
+
17
+
This plugin works with the same [unitypackages](https://github.com/juicycleff/flutter-unity-view-widget/tree/master/unitypackages) as the original plugin.
18
+
19
+
<br />
20
+
21
+
22
+
23
+
For now, most of the original readme is included below for documentation.
24
+
I might expand on this later.
25
+
26
+
27
+
## Migration from flutter_unity_widget
28
+
I've tried to keep most internal classes identical, to keep migrating to the fork simple.
29
+
30
+
You just need to rename the plugin by adding `_2` in several files in your project:
Flutter unity 3D widget for embedding unity in flutter. Now you can make awesome gamified features of your app in Unity and get it rendered in a Flutter app both in fullscreen and embeddable mode. Works great on `Android, iPad OS, iOS, Web`.
@@ -19,14 +79,10 @@ Flutter unity 3D widget for embedding unity in flutter. Now you can make awesome
19
79
- Use Windows or Mac to export and build your project.
20
80
Users on Ubuntu have reported a lot of errors in the Unity export.
21
81
- Emulator support is limited and requires special setup. Please use a physical device for Android and iOS.
22
-
- Supports Unity 2019.4.3 up to 2022.3.x, we recommend the latest 2022.3 LTS.
23
-
Check [this github issue](https://github.com/juicycleff/flutter-unity-view-widget/issues/967) for support of Unity 6.
24
82
- Use only OpenGLES3 as Graphics API on Android for AR compatibility.
25
83
- Windows isn't supported because of the lack of [Flutter PlatformView support](https://github.com/flutter/flutter/issues/31713).
26
84
27
85
## Notice
28
-
Need me to respond, tag me [Rex Isaac Raphael](https://github.com/juicycleff).
29
-
30
86
This plugin expects you to atleast know how to use Unity Engine. If you have issues with how unity widget is presented, you can please modify your unity project build settings as you seem fit.
31
87
32
88
Moving forward, versioning of the package will change to match unity releases after proper test. Mind you this does not mean the package
@@ -39,13 +95,13 @@ This plugin requires Flutter >= 3.3.0
39
95
First depend on the library by adding this to your packages `pubspec.yaml`:
40
96
```yaml
41
97
dependencies:
42
-
flutter_unity_widget: ^2022.2.1# use the latest compatible version
98
+
flutter_unity_widget_2: ^2022.2.2# use the latest compatible version
We already integrated this into our [Examples](/example/lib/screens/) in the `/example` folder.
1022
1077
1023
1078
1024
-
#### Sponsors
1025
-
1026
-
Support this project with your organization. Your donations will be used to help children first and then those in need. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/ultimate-backend/contribute)]
0 commit comments