foreach loops in Burst compiled jobs

Are they supported? I’ve been getting quite inconsistent crashes whenever there are foreach loops in burst compiled jobs. Changing the loop into a simple for loop or removing [BurstCompile] from the job solves the issue so I presume its caused by the foreach itself.

Unless something has changed recently, you cannot use foreach in burst, except if its a ref based enumerator. See also: Burst CAN use foreach statement now!

Thanks ^ . ^
That makes sense