Do you use godot? If not you should definitely give it a try. It's way faster. And you don't have that problem with it.
I was using unity cause I code in c#. Is there a way to code with c# in Godot?
Yeah it is possible, but the godot's own script works better. And isn't really hard to learn if you come from c#. I switched from Unity to godot too and picked it up very quickly.
Ah ok. Will look into using Godot for 2d stuff then