I’m making a flash build of a tiny game. When I started porting it, there were a ton of issues being thrown by the build step FlashDotNetAPIValidationRule (things like System.TextBuilder.AppendLine is not supported). These were easy enough to port, but now I’m down to my last error:
Usage of a type or method not supported by Unity Flash.
* Details: Invokes an unsupported method System.Int32 System.Threading.Interlocked::CompareExchange(System.Int32&,System.Int32,System.Int32) on type System.Threading.Interlocked
* Source: debugging symbols unavailable, IL offset 0x0009 at line : 0
I’ve searched around my project for anything obvious that would be using threads and then I just started commenting out systems that could even conceivably touch threads, but I haven’t figured out what’s using threads. Does anyone have any advice for tracing code dependencies so that I can debug this sort of problem?