10.2.0-beta.2 - Bug fixes
Pre-release
Pre-release
Fixed
- Fixed a bug that would result in an error similar to
Undefined symbols for architecture xxx: "_realm_thread_safe_reference_destroy"
when building a Unity project for iOS. (Issue #2318) - The weaver will now emit an error if you try to define a collection of
RealmInteger
values. This has never been supported, but previously it would fail silently whereas now it'll be a compile time error. (Issue #2308) - Fixed an issue where using collections of managed objects (lists or results) in a Unity project would result in an invalid compiled binary. (PR #2340)
- Fixed a memory leak when a migration callback is defined, but the Realm didn't actually need to run it (PR #2331)
Enhancements
- Added an override of
RealmObject.ToString()
to output more meaningful information about the object content. It will output the type of the object, the primary key (if one is defined), as well as information whether the object is managed or deleted. (Issue #2347)
Unity support
The Unity packages are very early previews and are considered unstable. We do not recommend using them in production because issues are expected, especially when compiling with IL2CPP.