Search Issue Tracker
By Design
Votes
0
Found in [Package]
2.2.4-preview
Issue ID
1316325
Regression
No
[Device Simulator] Canvas boundaries are not updated from the selected Device Simulator after reopening the Editor
Reproduction steps:
1. Create a new project
2. In the Hierarchy window create a UI Canvas GameObject
3. Open the Device Simulator Window
4. Select any device from the Device Simulator list
5. Close the Device Simulator Window
6. In Scene View observe the updated Canvas boundaries
7. Restart the Editor
Expected result: Canvas boundaries are updated from the selected Device Simulator after reopening the Editor
Actual result: Canvas boundaries are not updated from the selected Device Simulator after reopening the Editor (see attached DeviceSimulator.mp4)
Reproduces on: Device Simulator 1.0.0-preview, 2.2.4-preview (2019.4.20f1, 2020.2.4f1, 2021.1.0b6, 2021.2.0a5)
Could not test on 2018.4.32f1 (No package available)
Notes:
-This issue only occurs when the Editor is restarted and if the Device Simulator window was not in focus/docked before restarting
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
This is expected behaviour. The Canvas should update its size based on the Game window or the device selected in the Device Simulator window, in order to display the simulated resolution. Meanwhile, the Canvas cannot update its size if the Device Simulator is not present.