I pause the gameplay scene and go to main menu scene but when i go back to gameplay scene again i get this error :
MissingReferenceException: The object of type ‘RecycleGameObject’ has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
ObjectPool.NextObject (Vector3 pos) (at Assets/Scripts/ObjectPool.cs:26)
GameObjectUtil.Instantiate (UnityEngine.GameObject prefab, Vector3 pos) (at Assets/Scripts/GameObjectUtil.cs:15)
GameManager.ResetGame () (at Assets/Scripts/GameManager.cs:83)
GameManager.Update () (at Assets/Scripts/GameManager.cs:42)
please help me.