The Burst documentation is a bit outdated. In my case specifically:
Aliasing Checks
Since aliasing is so key to the compilers ability to optimize for performance, we’ve added some experimental aliasing intrinsics:
- Unity.Burst.Aliasing.ExpectAlias expects that the two pointers do alias, and generates a compiler error if not.
- Unity.Burst.Aliasing.ExpectNoAlias expects that the two pointers do not alias, and generates a compiler error if not.
Unity.Burst.Aliasing doesn’t exist anymore. I need to instruct Burst to disable Alias checks, as I am sure there is no aliasing. How?