I am putting a prefab (basically an Image) onto a Canvas at "0,0,0" in a script (for debug sake). When I press play in the editor, this is carried out but the GameObject end up at "-3.051758e-05,-280,0" i.e. way off from 0,0,0. What could cause this?
The Canvas is a child of the root canvas and is set to max out its size in order to be as big as its parent.
Using Unity 4.6.
Update: Not 100% sure yet but when setting position using somegameobject.localPosition = somevector
the positioning seems to work.