Quantcast
Channel: Questions in topic: "il2cpp"
Viewing all articles
Browse latest Browse all 598

Monitor.Enter and Monitor.TryEnter will suspend the program when the game run for a long time. ps:version Unity5.4.3f,Use IL2cpp.

$
0
0
I use the Monitor.TryEnter() for locking a exclusive object in another user defined thread.But it won't work correctly.After referring to the release note,I just learn about that the Monitor.TryEnter() cannot lock the object in some cases. So i try to use the Monitor.Enter() , it will be ok for a while,but an hour later,the Thread is freeze but the main loop (Unity thread) is normal.I just use the 5.3.5 and Monitor.Enter can work correctly, i don't know why and whether i use the IL2CPP.

Viewing all articles
Browse latest Browse all 598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>