Releases: learntoflutter/flutter_embed_unity
v1.4.0
27 Sep 2025
- New feature: export Unity project from command line (thanks @timbotimbo). See (Advanced: Export from the command line)[https://pub.dev/packages/flutter_embed_unity#advanced-export-from-the-command-line]
- Fix (#56)[https://github.com//issues/56]: Could not get unknown property 'unity.androidNdkPath' for project ':unityLibrary'
- Fix (#51)[https://github.com//issues/51]: EntryPointNotFoundException in SendToFlutter in Unity Editor play mode
- Upgraded example Unity 6 project to 6000.0.58
- Updated README with clarifications on what Unity versions are supported given that 16KB page sizes becoming mandatory when targeting Android 15+
- Bump flutter_embed_unity_2022_3_android to 1.1.5 and flutter_embed_unity_6000_0_android to 1.2.3
Building from command line and fixes for #56 and #51 require updating your .cs scripts in your Unity project using the latest flutter_embed_unity_6000_0.unitypackage or flutter_embed_unity_2022_3.unitypackage asset from releases on Github
Full Changelog: v1.3.1...v1.4.0
v1.3.1
What's Changed
- Production release of support for Unity 6000.0 LTS
- Fix android touch events for Unity 6000. by @timbotimbo in #45
- Fix messages from Unity on Android when using multiple Flutter engines. by @timbotimbo in #46
- Bump flutter_embed_unity_2022_3_android to 1.1.4
Full Changelog: v1.2.7...v1.3.1
v1.3.0-beta.1
Beta release of support for Unity 6000.0 LTS
Thanks to @timbotimbo for creating the Android platform implementation for Unity 6
Steps to migrate from Unity 2022.3 to Unity 6000.0:
- If you are using Android, add the following additional dependency to your pubspec.yaml:
dependencies:
...
# Add this for Unity 6000.0 support on Android:
flutter_embed_unity_6000_0_android: ^1.2.1-beta.1 # (Use the latest available)- If you are using Android, upgrade your android project's Gradle and AGP to match or exceed those used by Unity 6000.0 and update your NDK version to 27.2.12479018 or higher
- Migrate your Unity project to Unity 6000.0
- Update your Unity project's Flutter export scripts by importing the new flutter_embed_unity_6000_0.unitypackage asset from releases on Github
- Export your Unity project to your Flutter project as before, using the new Unity 6 export scripts
- If you encounter any build errors, go through the project setup steps in the README again (this has been updated for Unity 6)
Full Changelog: v1.2.7...v1.3.0-beta.1
v1.2.7
What's Changed
- [Android] Fix duplicate and missing namespace in UnityLibrary build.gradle. by @timbotimbo in #36
- [Flutter 3.29] Update documentation for Kotlin gradle syntax by @timbotimbo in #37
- Updated example project to support Flutter 3.29, Gradle 8 Java 11. Bump flutter_embed_unity_2022_3_android to 1.1.3 for the same
- Unity export improved to automatically remove ndkPath from
unityLibrary/build.gradleto prevent build error using latest version with flutter 3.29
To upgrade to the latest Unity export build script for Android, either manually replace the contents of your Unity project's Assets/FlutterEmbed/Editor/ProjectExporterAndroid.cs with the content from the 1.2.7 release branch on Github, or grab the flutter_embed_unity_2022_3.unitypackage asset from 1.2.7 release and re-import into your Unity project
Full Changelog: v1.2.6...v1.2.7
v1.2.6
v1.2.3
-
Lowered Dart SDK constraint to 2.18+ for compatibility with Flutter 3.7
-
Updated README to note issue #21: AR not supported when using Flutter 3.22 on Android API 32 or less (thanks @timbotimbo)
Full Changelog: v1.2.0...v1.2.3
v1.2.0
What's Changed
- Modify the Xcode project linker flags and Data folder on ios export. by @timbotimbo in #22
- Fix exporter compilation error when Unity is not 2022.3. by @timbotimbo in #23
Full Changelog: v1.1.1...v1.2.0
v1.1.1
v1.1.0-beta1
What's Changed
- Fix numberOfTaps in the example by @timbotimbo in #16
- Fix new input system touches on android. by @timbotimbo in #17
Full Changelog: v1.0.4...v1.1.0-beta1