Unity instantly crashes when switching from game to scene view.

Ok so i have a deadline for this project and this bug is really slowing me down. When i switch normally, nothing happens, but when i select my “Player” gameobject, and then switch from “game” to “scene”, it will just crash unity without any errors or anything.

What could be the cause of this? I sent a bug report to unity but I’m in a bit of a hurry to find something to make this work again like before.

There are zero scripts written by me which run in editor yet so I doubt I caused this crash with my scripts…

edit: after playing around with it for a while, i noticed it crashes only when “Mesh renderer” is enabled, but its a plane (2D game) and it isnt casting nor receiving shadows. What could be the cause of this?

This thread

suggests disabling or changing Graphics Emulation options in EDIT menu. ES 1.0 caused problems for some.

This one

recreates the error with what could be a shader.

You can disable meshrenderer wireframe in gizmos, apparently, which may help.