Whenever I bump into a wall in my 2D game im making it will just turn the screen black.

I have no clue what is causing this.

Same.

Changing the camera to Orthographic seems to solve the issue for me.