Screen turns grey and displays error message

For some reason, when I am on my unity game for too long, a lot of the same errors start showing up and my screen turns grey.

The error:
MissingReferenceException: The object of type ‘UniversalAdditionalCameraData’ 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.
UnityEngine.Component.GetComponent[T] () (at :0)
UnityEngine.Rendering.VolumeDebugSettings`1+d__11[T].MoveNext () (at Library/PackageCache/com.unity.render-pipelines.core@13.1.8/Runtime/Debugging/VolumeDebugSettings.cs:64)

This is the smallest example of what causes a MissingReferenceException:

GameObject myObject = new GameObject("TestObject"); // create a new object
string objName = myObject.name; // gets "TestObject" because it exists
Destroy(myObject);
objName = myObject.name; // MissingReferenceException because it was destroyed.

So somewhere in your code, a game object is being destroyed either with Destroy() or by changing scenes, and then something else is referencing that object.

Strange thing is, I don’t really touch the camera or do anything in it in gameplay. Also, the code that is causing the bug is code made by Unity. Plus why does my screen go completely gray?

Someone, please help, this error has been plaguing me for a month and somehow it’s getting worse and worse as I add more stuff to my game.