com.unity.burst 1.6.2

com.unity.burst

Notes: processedReleased November 12, 2021

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2019.4

Package Dependencies

🔧 Bug Fixes

  • Fixed type initialization error, and invalid log messages about needing to add `[MonoPInvokeCallback]` to be compatible with IL2CPP, that could occur in a player build with Burst disabled
  • ILPP issue for dots runtime whereby a calli patch could generate bad IL if the first instruction replaced was the target of a branch.
  • Fixed "UnityException: CompileAsyncDelegateMethod can only be called from the main thread." error that was logged in standalone players when the first invocation of a direct-call method was from a background thread
  • Fixed constant folding when using `Hint.Likely` or `Hint.Unlikely` intrinsics - the compiler is now able to fold these calls away entirely if the input value is constant.
  • Fixed a bug that made exiting play mode slower than it should have been when Synchronous Compilation was turned off
  • Fixed an internal compiler error when casting a void\* to a pointer-to-vector and then access the element.

Features

  • Burst now generates a link.xml automatically to avoid issues with stripping causing missing symbols at runtime from static constructor usage.

API Changes

    📈 Improvements

    • Burst now waits for all threads to complete on shutdown, rather than performing a thread abort, as that could lead to a race condition with Dispose.
    • Improved the compiler performance when doing large struct copies by detecting more cases where a load/store can be safely converted to a move-memory operation.

    ⚠️ Known Issues