unity_kit 0.9.1 copy "unity_kit: ^0.9.1" to clipboard
unity_kit: ^0.9.1 copied to clipboard

Flutter plugin for Unity 3D integration — typed bridge, lifecycle management, and communication layer.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.9.1 - 2026-02-20 #

Fixed #

  • Fixed .pubignore excluding models/ directory from published package, causing 159 analysis errors on pub.dev.
  • Removed unused connectivity_plus dependency.

0.9.0 - 2026-02-19 #

Added #

  • Gesture controls for UnityView (gestureRecognizers parameter).
  • CocoaPods support for iOS integration.
  • Target frame rate configuration (UnityConfig.targetFrameRate).
  • Touch event handling for Android and iOS.
  • Flutter Android lifecycle integration.
  • Core bridge: UnityBridge, UnityBridgeImpl with typed messaging.
  • Lifecycle management: 6-state machine (uninitializedreadypausedresumeddisposed).
  • Readiness guard: auto-queue messages until Unity is ready.
  • Message batching (~16ms windows, coalescing).
  • Message throttling (3 strategies: drop, keepLatest, keepFirst).
  • Asset streaming: manifest-based, SHA-256 integrity, caching.
  • Content downloading with exponential backoff.
  • Addressables and AssetBundle loaders.
  • UnityView widget with platform views (Android HybridComposition + iOS UiKitView).
  • UnityPlaceholder loading widget.
  • UnityLifecycleMixin for app pause/resume handling.
  • Typed exception hierarchy (UnityKitException, BridgeException, CommunicationException, LifecycleException, EngineNotReadyException).
  • UnityConfig, UnityMessage, SceneInfo models.
  • Platform abstraction via MethodChannel.
  • C# Unity scripts (FlutterBridge, MessageRouter, MessageBatcher, SceneTracker, NativeAPI, FlutterMonoBehaviour).
  • Comprehensive test suite (35 files, ~9000 lines).
  • API documentation and asset streaming guide.
1
likes
150
points
3.15k
downloads

Publisher

verified publisherravenlab.tech

Weekly Downloads

Flutter plugin for Unity 3D integration — typed bridge, lifecycle management, and communication layer.

Repository (GitHub)
View/report issues

Topics

#unity #flutter-unity #game #assets #bridge

Documentation

API reference

License

MIT (license)

Dependencies

crypto, flutter, flutter_plugin_android_lifecycle, http, path_provider

More

Packages that depend on unity_kit

Packages that implement unity_kit