Unity Issue Tracker - “Screen.safeArea” reports the same width and height when changing between different device simulators windows if they’re both docked
Closed
UUM-29489
“Screen.safeArea” reports the same width and height when changing between different device simulators windows if they’re both docked
Unity: Device Simulator
Won't Fix
2023.2.X
2023.1.X
2022.2.X
2021.3.X
Multiple device simulator devices aren't supported in play mode at the same time unfortunately.
How to reproduce:
1. Open the attached “Screen.zip” project
2. Open the “SampleScene” Scene (Assets > Scenes > SampleScene)
3. Make sure that any Device Simulator window is opened and enter Play Mode
4. Observe the Console window
5. Open another Device Simulator window
6. Observe the Console window
Expected result: Width and height of the Safe Area changed
Actual result: Width and height of the Safe Area haven’t changed
Reproducible with: 2021.3.21f1, 2022.2.11f1, 2023.1.0b8, 2023.2.0a6
Could not test with: 2020.3.46f1 (Errors after installing a Device Simulator package)
Reproduced on: macOS 13.2.1 (Intel)
Notes:
Not reproducible with screen width and height
Not reproducible if changing just the device in the Device Simulator window
Not reproducible if one or both Device Simulator windows are undocked
Prioritise and Follow this issue
Have a workaround or additional info about this issue?