I want to use Screen.Width and Screen.Height for calculations in initialisation. However both of these are wrong in Start and for the first couple of frames of Update. So I’m just wondering when exactly do these screen variables get set? Does the delay in updating these variables only occur in the Unity Editor, or does it do this in builds as well?
This is a known issue and it only happens in the editor (it is a problem with switching from the scene view to the play view - this doesn’t happen in the built project).