We’re suddenly seeing what should be bursted code apparently falling back to running under Mono on some machines. Strangely, this appears to only be happening on some machines and not others. The way I’ve checked this is to target the profiler at the build. On machines where the burst-compiled code runs correctly, we see the “(Burst)” suffix on profiler markers, and the markers appear green in the timeline. On the misbehaving machines, the suffix is not there and the markers are blue.
This is being reported on Steam Deck, PS5, and one PC that we’ve found so far. The only real difference I can find between the machines where it is running unbursted and where it is bursted is that the unbursted machines all have AMD processors, and the bursted ones have Intel. I’ve looked at the player log and nothing jumps out at me. I’m stumped as to what to look at next.
One slightly suspicious thing: we disabled AVX2 to fix a crash on some processors. However, that was weeks ago, and we haven’t had problems until just today.
Our burst version is 1.8.4. Our Unity version is 2022.3.48.
Is there some scenario where this occurs that I need to watch out for?