v1.0.6
This is a major stable release. Yay! It can only go native from here.
Added
-
Mock Mode Updates (#87)
- Introduced a new Mock Mode with a custom manager GameObject to switch between local and browser mock modes.
- Browser Mock Mode: Runs actual Playroom functions inside Unity Editor to reduce the need for building the game.
- Planned Improvements:
- Utilize separate Assembly Definitions for editor-only scripts.
- Handle RPCs within the new architecture.
- Generalize Unity callback invocation from the browser.
-
Logger Feature (#122)
- Added a debug log toggle for enhanced developer debugging.
Changed
- Replaced Deprecated dynCall with makeDynCall (#93)
- Updated
dynCall
tomakeDynCall
inAssets/PlayroomKit/src/index.js
. - Verified on Unity 2022.3.23f1, Chrome 129.0.6668.90, macOS 15.1.
- Updated
Fixed
-
RPC Callback Registration (#118)
- Ensured RPC callbacks are invoked only after registration.
-
- Addressed issues with
OnQuit
behavior for both builds and browser mock mode. - Removed
MonoPInvoke
fromGameManager
. - Fixed issues with state updates after a player was removed.
- Addressed issues with
-
RPC Enhancements (#117)
- Fixed
RPCcall
in local mode without registering the event. - Addressed issues with overriding RPC events.
- Resolved null parameter handling in RPC browser mode.
- Integrated
OnQuit
implementation for browser mock mode.
- Fixed
-
WaitForStateLocal Fixes (#115)
- Fixed
WaitForStateLocal
and related player tests. - Addressed null data from the JavaScript side.
- Updated demo scenes accordingly.
- Fixed
Refactored
-
Dependency Injection Refactor (#106)
- Refactored codebase to use dependency injection for better modularity.
-
Browser Mock Mode Updates (#116)
- Refactored and reimplemented all functions for mock mode based on the new architecture.
Testing
- Enhanced test coverage for refactored components and new features.
New Contributors
- @aarijimam made their first contribution in #93
Full Changelog: v0.0.29...v1.0.6