This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crashes on Unity 2020.1+, update changelog
- Loading branch information
Showing
3 changed files
with
25 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
This is a small bugfix update. Generated assemblies should be mostly compatible with those generated by 0.4.14.0. | ||
Some external tools that relied on native struct definitions might break though - some structs were moved to used the wrapper model. | ||
This is a small bugfix update. Generated assemblies should be mostly compatible with those generated by 0.4.15.1. | ||
Changes: | ||
* Generic structs are now always (correctly) generated as non-blittable | ||
* Rewrote native struct handling to enable easy support of different Unity versions. | ||
* This release should, in theory, support all Unity versions from 2017.1.0 to 2020.2.x and perhaps even above. However, bugs are still a thing. | ||
* The base of this was contributed by @ghorsington in #35 | ||
* Some fixes and improvements here were contributed by @ds5678 (#39) | ||
* Added `Il2CppObjectBase.WasCollected` (contributed by @ds5678 in #37) | ||
* Added basic support for loading custom components (of injected types) from assetbundles (contributed by @ds5678 in #38) | ||
* Added an overload of `Il2CppType.Of` method that doesn't throw exceptions for non-found types (contributed by @ds5678 in #36) | ||
* Field writes now use `il2cpp_gc_wbarrier_set_field` if it exists in GameAssembly | ||
* Added `ClassInjectionAssemblyTargetAttribute` (contributed by @ds5678 in #49) | ||
* Fixed crashes on Unity 2020.1.x and later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters