- Home /
This question was
closed Sep 12, 2019 at 11:32 AM by
itelefon for the following reason:
Too subjective and argumentative
Question by
itelefon · Aug 28, 2019 at 11:44 AM ·
c#gameobjectpositionbug-perhapspositioning
Different unit size on mobile and PC
When I set the world or local position for a game object, the position on the mobile is 10 times greater than my initial position on the PC, although in debugging I see that this is the same position. Same with scale. I using Unity 2019.2.1f1.
Update: Ok, it is something with world canvas, parenting, and scale but I can't figure what it is and why on my PC build all positions and scales is fine and on mobile device not.
Comment
Answer by xAdamQ · Aug 28, 2019 at 12:15 PM
you have to check it's parent position if it has a parent, also you can debug camera info to see what's wrong.
There are the same scenes (parent's the same) and I don't have platform-specific code.