I had this problem when using Unity 2D. I switched back to regular Unity and the issue no longer occurs.
I had this problem when using Unity 2D. I switched back to regular Unity and the issue no longer occurs.