com.unity.burst 1.6.6
Notes: processedReleased June 8, 2022
Unity Compatibility
Minimum Unity: 2019.4
Package Dependencies
🔧 Bug Fixes
- Fixed hashing error that could occur with unbound generic type
- Fixed a memory leak where during hashing we'd pin a GC object and never unpin and free it.
- Fixed a bug where using `ReinterpretStore(someIndex, (ushort)someValue)` could cause an internal compiler error in Burst.
- Fixed bug in static constructor ordering in the presence of indirect dependencies between static constructors (i.e. static constructor -> static method -> static constructor) that could result in a runtime crash
- Fixed a bug that manifested when using IAP in UWP builds with Burst - we were scanning the assembly hierarchy too deep for Bursted types, which led to an `AssemblyResolutionException`.
- Added workaround for "cannot dlopen until fork() handlers have completed" issue seen in macOS 12.3
- Fixed compiler crash when trying to dynamically call `BurstCompiler.CompileFunctionPointer` in Burst-compiled code
- Fix compiler crash when the only usage of a static field was in a formatted exception string
- Fixed a bug with `Span` and `ReadOnlySpan` types where if the indices used were not already 32-bit signed integers, an internal compiler error would occur if running with safety checks enabled.
- A potential issue with the debug info mover pass, that meant it only affected the first entry point in a module
- Fixed hashing bug that could occur when a function pointer type is used in a method parameter
- Fixed hashing error that could occur in the presence of multiple synthesized explicit interface implementations with the same name and signature
- Fixed a compiler crash if users used `__refvalue` or `__arglist` in Burst. Neither of these are supported, but now we will nicely tell you via a compiler error that they aren't supported.
- Fixed a compiler error when trying to acquire the function pointer of a generic function from Bursted code.
- Using a function only through a C# function pointer could cause a crash
✨ Features
- Support for \_\_Unmanaged for non-extern functions
⚡ API Changes
📈 Improvements
- Used explicit namespace for UnityEditor.PackageManager.Events to avoid conflicts.
