Avalanche is specifically known for it's anti emulation code.
Previously they've had to deal with a piece of code that is designed only to work with the gamecube's L2 cache, and crashes emulators that don't emulate the cache layers close enough. Which emulators rarely do as it's prohibitively expensive; you're looking at somewhere between an order of magnitude and two lower perf. This code doesn't do anything in the good case, and doesn't have any reason to exist except to be an anti-emulation check.
I'd love to see a Q&A session with the programmers about those games. Putting so many incredible "anti-piracy" or "anti-emulation" pain points into games most people would consider shovelware
Part of me wonders if it was a request from Disney, given that the value of the IP being emulated in an unlicensed product would be undesirable to them.