When I start my game on Android my virtual joysticks stops being round.
Here you can see it:
Here is the project on PC at the same time:
Here are my UI settings for the Joystick:
Please, help me to find a way to preserve the roundness on the Android phone. It feels to me that the solution to the problem is straightforward, but my lack of knowledge prevent me from getting it. What I tried to do is to tweak settings in Editor, in particular I checked preserve ratio on all elements images as you can see on screenshots, but it did not help. I think it did not due to the fact that there is a code executed every time which is this:
Screen.orientation = ScreenOrientation.LandscapeLeft;
And I think that it changes ratio even though I preserved it in Editor. So, help me out of the problem, please.
Screen.orientation = ScreenOrientation.LandscapeLeft;
executed every time? If you don't know if it's causing the bug, disable it and check if it solves the problem. \$\endgroup\$