Will OnApplicationQuit be called when force quit a not responding app?

When we shut down a not responding app, will OnApplicationQuit still be called?

@silentsoldier It depends on what you mean by force quit. From what I know, OnApplicationQuit is usually called whenever the playmode is suspended or purposely stopped. However, I don’t think this includes crashes or force quits, so the short answer would be no. It also depends on the target platform of the project. For example, IOS builds usually need extra settings just for the basic quit events to occur. If you are using OnApplicationQuit for IOS, there should be other ways to call the function whenever the build is running in the background. However, from my experience, the function OnDestroy() usually occurs when the app is crashed and OnApplicationQuit does not.