Just attempting to use Interlocked.Increment(ref threads)
and it just hangs my game.
public static int threads;
...
Interlocked.Increment(ref threads);
Using System.Threads
also.
I've moved it into the main thread and out of it, can't seem to get it to work anywhere. Is this just Unity causing this?