com.unity.burst 1.8.8
Source docsNotes: processedReleased August 9, 2023
Unity Compatibility
Minimum Unity: 2020.3
Package Dependencies
🔧 Bug Fixes
- Fixed error when trying to use direct call to a nested protected class
- Fixed that converting a negated unsigned type to a float would produce a mismatching value in Burst versus .Net/Mono
- Fixed that the Burst Inspector handled negation of unsigned types differently than .Net for static readonly fields or static constructors
- Fixed Burst sometimes returning wrong value for static readonly fields or static constructors.
- Fixed a possible source of invalid alignment, avx2 storing to stack was given a slot with the wrong alignment.
- Fixed `System.NotImplementedException: Unimplemented Instruction Extension Tail_` error when the code contained tail-calls
- Fixed wrong alignment for v128 when doing an indirect access.
- Fix compiler crash when compiling different assemblies that define methods or types with the exact same name and namespace
- Fixed using Armv9 target in the Burst Inspector not formatting the assembly.
- Fixed that jobs wouldn't be Burst compiled for player builds with high stripping
- Fixed burst not being able to find external function leading to crashing the Editor
- Prevented Burst emitting errors even when Burst was disabled via the `--burst-disable-compilation` command line option
- Under some conditions (if the error in compilation occurred in a location that didn't have valid debug information), building a player might not generate any files, and not display any errors.
- Fixed `uint` to `float` conversion edge-case
- Fixed a compile-time performance regression in 1.8.7 that could result in slower Burst compilation and increased memory usage during compilation
✨ Features
- Added support for default interface methods
- Added ability to support hashing against different target frameworks.
- Added support for string interpolation in exception messages
- Add support for `Math.Clamp` (this API is available when Api Compatibility Level is set to .NET Standard 2.1)
⚡ API Changes
📈 Improvements
- Direct call is now correctly disabled for methods that are decorated with both `[BurstCompile]` and `[UnmanagedCallersOnly]` attributes (such methods shouldn't be called directly from managed code)
