Bump on this. Experiencing odd issues currently. I have StarterGui set to Portrait, and in ReplicatedFirst, I set both StarterGui and the Players PlayerGui to Portrait too.
When my game starts though, It tries to switch to landscape for a split second then reverts back to portrait. The only issue with this is it leaves a thick black vertical line on my screen…
This black line seems like it’s the one used to cover up the notch on newer iphones, but it is on the side of my phone not on the notch, when on portrait mode.
Additionally, if I set CharacterAutoLoads to false (in Players Service), the workaround script doesn’t work at all (Setting PlayerGui to portrait mode)