When running the game in studio, workspace.Camera.ViewportSize is (1, 1) and then updates to the correct size after 0.2 seconds
Studio:
Camera Viewport Size update delay test.rbxl (54.0 KB)
In-game:
The localscript is in StarterPlayerScripts. Even when it’s in ReplicatedFirst, the correct size is printed in-game.