Camera.ViewportSize returns 1,1 on start of running in Studio

The ViewportSize property of the Camera returns 1,1 instead of the actual viewport size on the first few frames of running in Studio. This only happens in Studio and not in Live games.

9 Likes

Thanks for letting us know! Just sent this one over to the team. We’ll update you as soon as we can.

2 Likes

Any update on this? Still a huge issue, breaking a ton of things in my game

3 Likes

Hey @NinjoOnline, does this occur during playtest in Studio, or only while editing in Studio?

Sorry that the person you asked for is not answering, I’m just following this topic because I had a lot of problems related to this in one of my games(
For me it happens when I do a playtest in Studio. Usually I use waiting until the camera’s ViewportSize is 1.1. But I also think that this should not happen, and ViewportSize should be equal to the screen resolution right away…

2 Likes