Some variables are accessed from one thread to another, which might cause corruption or that kind of thing. Notable shared vars to focus on includes the TrackingData var. Thread safety can be added by either using atomic vars or mutexes, though I believe atomic vars are quickers and are therefore prefered.
Some variables are accessed from one thread to another, which might cause corruption or that kind of thing. Notable shared vars to focus on includes the TrackingData var. Thread safety can be added by either using atomic vars or mutexes, though I believe atomic vars are quickers and are therefore prefered.