New instance viewportframe not showing


I make 3 new viewport frames and they just don’t seem to appear however when I add a viewport frame manually it does appear.

local Viewport = Instance.new("ViewportFrame",Frame)
Instance.new("Camera",Viewport)
Viewport.Name = i

Nevermind it was just that I didn’t change the size property