This Unity message uses an incorrect method signature.
using UnityEngine;
class Camera : MonoBehaviour
{
private void OnApplicationPause(int foo, bool pause, string[] bar)
{
}
}
Fix message signature:
using UnityEngine;
class Camera : MonoBehaviour
{
private void OnApplicationPause(bool pause)
{
}
}
A code fix is offered for this diagnostic to automatically apply this change.