Call methods from the main thread - UnityEngine C# [duplicate]
问题 This question already has answers here : Use Unity API from another Thread or call a function in the main Thread (3 answers) Closed 2 years ago . I'm having trouble with a UnityEngine version. (Can't upgrade, game is not mine) The server RANDOMLY crashes when a specific UnityEngine method is used in a timer/thread (It was fixed in a version, I read It) It happens totally random, I get a crash log, that starts from the timer/thread and ends at a UnityEngine method. (This never happens when I