In my case, the exact error occured because something went wrong with the Animator tab and it can't draw anything, so you can try closing the Animator tab and re-opening it again. Closing Unity also works but it would fix everything instead of only the root problem.
Worked for me btw.