- Home /
OnApplicationPause() method works in the start, but doesn't works in the end of the game and something causes the lag.
When I start my game it glitches for ~3 seconds and might be that Unity see the pause in it. But why OnApplicationPause() doesn't working when I kill the application or pause it in unity editor? Also, lag causes by "Editor Loop" as information says in the Profiler. More detail information : https://imgur.com/a/LSxmLX3. In 5-6 days before it was working fine.
stackoverflow question : https://stackoverflow.com/questions/56775185/function-onapplicationpause-works-when-the-application-starts-android-unity3
p.s. sorry for my english.
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Initialising List array for use in a custom Editor 1 Answer
Distribute terrain in zones 3 Answers
Equivalent of OpenFilePanel without using UnityEditor? 5 Answers