Skip to content

10.3.0 - Unity Support

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jul 22:24
75bce65

This release marks our Unity support as GA. This means that our automated tests pass on all supported platforms. We've also done extensive manual testing and believe the SDK is of high enough quality for production use. Take a look at the docs for more information on how to get started or head over to MongoDB .live for a walkthrough of using the local database and Sync in a Unity game.

Note: This release uses xcframework and enables bitcode for the iOS native libraries. This significantly increases the package size and may appear to increase the .ipa size when compiling for iOS. However, the bitcode portion, as well as the unnecessary architectures, will be trimmed by the App Store, so the size of the actual download sent to users will be unchanged or smaller than before.

Fixed

  • Fixed an issue that would prevent realm-wrappers.dll from being loaded on Windows 8.1. (Issue #2298)
  • Fixed an assertion failure when listening for changes to a list of primitive Mixed which contains links. (Core upgrade)
  • Fixed an assertion failure when listening for changes to a dictionary or set which contains an invalidated link. (Core upgrade)
  • Fixed an endless recursive loop that could cause a stack overflow when computing changes on a set of objects which contained cycles. (Core upgrade)
  • Add collision handling to Dictionary implementation. (Core upgrade)
  • Fixed a crash after clearing a list or set of Mixed containing links to objects. (Core upgrade)
  • Fixed a recursive loop which would eventually crash trying to refresh a user app token when it had been revoked by an admin. Now this situation logs the user out and reports an error. (Core upgrade)
  • Fixed a race between calling Realm.DeleteRealm and concurrent opening of the realm file. (Core upgrade)
  • [Unity] Added code to preserve the constructors of several base serializers to ensure that most of the basic serialization/deserialization workloads work out of the box. (PR #2489)

Enhancements

  • Changed the native iOS library to use xcframework. This means that running in the simulator on M1 macs is now supported. (Issue #2240)
  • Added bitcode to the native iOS library. This has no effect on Xamarin.iOS, but allows Unity applications to take advantage of optimizations performed by the App Store servers and eventually support new architectures as they are released. (Issue #2240)

Compatibility

  • Realm Studio: 11.0.0 or later.
  • This release uses xcframework for the iOS native libraries, which requires Xamarin.iOS 14.14.2.5 or later.