Edge case causes game to load in portrait mode even though StarterGui.ScreenOrientation is set to Landscape

Reproduction Steps
The game it’s happening in - LootQuest
The device it’s happening to - Google Pixel 4XL running Android 12

The steps to reproduce the bug are as follows:
1 - Join the game
2 - Switch to another app
3 - Wait for the game to disconnect (about half a minute)
4 - Switch back to the Roblox app and rejoin the game

Expected Behavior
The game should load the Landscape screen orientation every time.

Actual Behavior
The game loads in portrait mode.

Issue Area: Mobile App
Issue Type: Display
Impact: Low
Frequency: Sometimes

2 Likes

Thanks for the report! We’ll follow up when we have an update for you.

2 Likes

For some reason, locking the screen in landscape mode doesn’t work when joining Created Places (from CreatePlaceAsync) in my game.
image
Could be my code? But this line definitly runs so idk how…
This script can run some time after the player loads in so maybe that is why, however I did some quick tests and it seams like that doesn’t change a thing

I would have to try out more things to be sure that this is a roblox issue though