|
| 1 | +# Unitypackages |
| 2 | +Documentation of the unitypackage for `flutter_unity_widget`. |
| 3 | + |
| 4 | +These packages are generated from the `FlutterUnityIntegration`folder in the example project. |
| 5 | +Using the files from the example project ensures you have the latest version. |
| 6 | + |
| 7 | + |
| 8 | +### Which one do I pick? |
| 9 | +Try the newest one first. |
| 10 | + |
| 11 | +Package versions do not indicate supported unity versions. |
| 12 | +For example `fuw-2022.1.7f1.unitypackage` will work in Unity 2021 and even Unity 2019. |
| 13 | + |
| 14 | +If you really can't get it to work try to match version numbers. |
| 15 | +e.g if you use an older plugin version in the 4.x range, you might have to try unitypackages with 4.x versions. |
| 16 | + |
| 17 | + |
| 18 | +### NewtonSoft errors |
| 19 | +You might run into one of the following errors: |
| 20 | + |
| 21 | +- `The type or namespace name 'Newtonsoft' could not be found` |
| 22 | + You need to add or enable the dll file. |
| 23 | +- `Multiple precompiled assemblies`. |
| 24 | +You need to remove or disable the dll file. |
| 25 | + |
| 26 | +For Android, iOS and Web this file shoud be |
| 27 | +`Assets\FlutterUnityIntegration\JsonDotNet\Assemblies\AOT\Newtonsoft.Json.dll.txt` |
| 28 | + |
| 29 | +Using a wrong extension like `.dll.txt` will disable it. |
| 30 | + |
| 31 | +# CHANGELOG |
| 32 | +Changes for `2022.1.7f1` and earlier were collected retroactively and might not be complete. |
| 33 | + |
| 34 | +## 2022.2.0 |
| 35 | +>fuw-2022.2.0.unitypackage |
| 36 | +* Restore newtonsoft.json.dll import. |
| 37 | +* Improve file appending during iOS export. |
| 38 | +* Disable bitcode for Xcode 14 |
| 39 | +* (Android) Fix proguard linebreak bug |
| 40 | +* Fix a debugger crash in Unity 2022 |
| 41 | +* Demo: Fix float parsing for localizations not using a dot as separator. |
| 42 | + |
| 43 | +## 2022.1.7f1 |
| 44 | +>fuw-2022.1.7f1.unitypackage |
| 45 | +* Add separate Debug and Release exports options. |
| 46 | + |
| 47 | +## 2022.1.1-v2 |
| 48 | +>fuw-2022.1.1-v2.unitypackage |
| 49 | +* Add missing using statements in `NativeAPI.cs`. |
| 50 | +* Add success logs at the end of an export. |
| 51 | +* Add Android proguard rule `-keep class com.unity3d.plugin.* { *; }";` |
| 52 | +* Improve web exports. |
| 53 | + |
| 54 | +## 2022.1.1 |
| 55 | +>fuw-2022.1.1.unitypackage |
| 56 | +* Rename newtonsoft.json `.dll` to `.dll.txt` to avoid assembly errors. |
| 57 | + |
| 58 | +## 2022.1.0 |
| 59 | +>fuw-2022.1.0.unitypackage |
| 60 | +* iOS export fixes. |
| 61 | +* WIP webGL export |
| 62 | + |
| 63 | +## v4.1 |
| 64 | + >FlutterUnityIntegration-v4.1.0.unitypackage |
| 65 | +* Enable bitcode for iOS. |
0 commit comments