PackageTrack
Sign in Get early access

flutter_embed_unity_2022_3_ios

iOS implementation for Unity 2022.3 LTS of the flutter_embed_unity plugin.

2.0.0 7.8K downloads/mo #3291 most downloaded on pub.dev learntoflutter/flutter_embed_unity

What this package is like to depend on

Last release 4 months ago

13 Apr 2026

Ships unpredictably

gaps range from 2 weeks to 1.7 years

Nearly every release is documented

notes for 4 of 4 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

11 releases · first in 2023

3 releases in the last 12 months

see the full history below

Release timeline

11 releases · Sep 2023 to Apr 2026
2024 2025 2026
Release Pre-release

Releases

latest 11
  1. 2.0.0 13 Apr 2026
    Release notes

    ⚠️ Breaking changes!

    Migration steps for iOS

    Due to structural changes required to support Swift Package Manager, you now need to add UnityFramework.framework from your exported Unity-iPhone to your Runner target's list of embedded frameworks in Xcode:

    • In Xcode, open <your project root>/ios/Runner.xcworkspace
    • Select 'Runner' in the project navigator
    • Under Targets, select 'Runner'
    • In the General tab, scroll down to 'Frameworks, Libraries, and Embedded Content'
    • Click on + and choose Workspace -> Unity-iPhone -> UnityFramework.framework

    After adding UnityFramework.framework, you may encounter a build error Cycle inside Runner; building could produce unreliable results. To solve this, in Xcode, again select the Runner target, and go to the Build phases tab. Drag the Thin Binary build phase downwards until it is below the Embed Frameworks build phase. If this does not resolve the issue, look for any custom Run Script phases you may have added which contain variables pointing to paths in the final built product (eg $TARGET_BUILD_DIR) and move them down also.

    You may also need to run flutter clean before rebuilding your project.

    Migration steps for Android

    The flutter_embed_unity_6000_0_android package is now the default implementation for Android, which means you will need to make a change to your app's pubspec.yaml.

    If you are targeting Unity 2022.3, you now need to explicitly override the default implementation for android from Unity 6 to Unity 2022.3 by adding flutter_embed_unity_2022_3_android as a dependency:

    dependencies:
      ...
      flutter_embed_unity: ^2.0.0
      flutter_embed_unity_2022_3_android: ^1.1.5  # <-- If using Unity 2022.3, add this

    If you are targeting Unity 6, you will already have an override for flutter_embed_unity_6000_0_android in your app's pubspec. You can now remove it:

    dependencies:
      ...
      flutter_embed_unity: ^2.0.0
      # flutter_embed_unity_6000_0_android: ^1.2.3  # <-- If using Unity 6 LTS, this can be removed

    New features

    • Support for Swift Package Manager (you can now use SPM instead of Cocoapods to install flutter_embed_unity) (thanks @timbotimbo). Closes #29
    • Support for installing required Unity scripts as a Unity Package Manager package via Git URL (thanks @timbotimbo). See Unity docs:
      • For Unity 2022.3: https://github.com/learntoflutter/flutter_embed_unity.git?path=example_unity_2022_3_project/Assets/FlutterEmbed
      • For Unity 6000.0 / 6000.3: https://github.com/learntoflutter/flutter_embed_unity.git?path=example_unity_6000_0_project/Assets/FlutterEmbed

    Other changes

    • Increased minimum Flutter version to 3.35 due to problems with Unity, Xcode 26 and Flutter JIT. Fixes #73
    • Example Unity 6 project updated to Unity 6000.3.11f1
    • Bump all platform implementation package and platform interface dependencies to 2.0.0
    • Increased Android minSdk to 25 in example app, which is required for Unity 6000.3

    Full Changelog: v1.5.0...v2.0.0

    Open source →
    Release notes

    ⚠️ Breaking changes!

    Migration steps for iOS

    Due to structural changes required to support Swift Package Manager, you now need to add UnityFramework.framework from your exported Unity-iPhone to your Runner target's list of embedded frameworks in Xcode:

    • In Xcode, open <your project root>/ios/Runner.xcworkspace
    • Select 'Runner' in the project navigator
    • Under Targets, select 'Runner'
    • In the General tab, scroll down to 'Frameworks, Libraries, and Embedded Content'
    • Click on + and choose Workspace -> Unity-iPhone -> UnityFramework.framework

    After adding UnityFramework.framework, you may encounter a build error Cycle inside Runner; building could produce unreliable results. To solve this, in Xcode, again select the Runner target, and go to the Build phases tab. Drag the Thin Binary build phase downwards until it is below the Embed Frameworks build phase. If this does not resolve the issue, look for any custom Run Script phases you may have added which contain variables pointing to paths in the final built product (eg $TARGET_BUILD_DIR) and move them down also.

    You may also need to run flutter clean before rebuilding your project.

    New features

    • Support for Swift Package Manager (you can now use SPM instead of Cocoapods to install flutter_embed_unity) (thanks @timbotimbo). Closes #29
    • Support for installing required Unity scripts as a Unity Package Manager package via Git URL (thanks @timbotimbo). See Unity docs:
      • For Unity 2022.3: https://github.com/learntoflutter/flutter_embed_unity.git?path=example_unity_2022_3_project/Assets/FlutterEmbed
      • For Unity 6000.0 / 6000.3: https://github.com/learntoflutter/flutter_embed_unity.git?path=example_unity_6000_0_project/Assets/FlutterEmbed

    Other changes

    • Increased minimum Flutter version to 3.35 due to problems with Unity, Xcode 26 and Flutter JIT. Fixes #73
    • Example Unity 6 project updated to Unity 6000.3.11f1
    • Bump all platform implementation package and platform interface dependencies to 2.0.0
    • Increased Android minSdk to 25 in example app, which is required for Unity 6000.3
    Open source →
  2. 2.0.0-dev.2 05 Apr 2026 pre-release

    Nothing published for this version

  3. 2.0.0-dev.1 02 Apr 2026 pre-release

    Nothing published for this version

  4. 1.0.2 31 Jul 2024
    Release notes

    31 July 2024

    • Lowered Dart SDK constraint to 2.18+
    Open source →
  5. 1.0.1 20 Nov 2023
    Release notes

    20 November 2023

    Open source →
  6. 1.0.0 12 Oct 2023
    Release notes

    12 October 2023

    • First production release
    Open source →
  7. 0.0.7-beta 04 Oct 2023 pre-release
    Release notes

    3 October 2023

    • Removed green placeholder when Unity is detached from EmbedUnity
    Open source →
  8. 0.0.6-beta 28 Sep 2023 pre-release
    Release notes

    28 September 2023

    • Update platform interface dependency
    Open source →
  9. 0.0.5-beta 27 Sep 2023 pre-release
    Release notes

    27 September 2023

    • Fix issue #6
    • Fix iOS platform package dependency name in iOS example app
    Open source →
  10. 0.0.4-beta 15 Sep 2023 pre-release
    Release notes
    • Update dependencies
    Open source →
  11. 0.0.2-beta 14 Sep 2023 pre-release
    Release notes
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive