Search Issue Tracker
By Design
Votes
0
Found in [Package]
2.2.4-preview
Issue ID
1307112
Regression
No
Device simulator resets to Default Orientation when compiling a script
Steps to reproduce:
1. Open the attached project "Case_1307112"
2. Open the device Simulator window from Window->General->Device Simulator
3. In the Screen settings set the untick Auto Rotation
4. Select Landscape Left only
5. Open the only script in the Project->Assets
6. Add space or a comment to recompile the scripts and save it
7. Get back to the editor
Expected results: Screen settings do not reset when recompiling scripts
Actual results: Screen settings reset when recompiling the scripts
Reproducible with: 2019.4.19f1(2.2.4-preview), 2020.2.3f1(2.2.4-preview),
Could not test with:
- Screen settings are not available in 2021.1 and 2021.2
- Device simulator package is not available in 2018.4
Note:
- The video of the problem is in the edit field
- It is expected that it will reset when entering and exiting play mode but not when recompiling scripts
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
- [Linux] TMP Font Asset pop-up Window opens on the secondary monitor when the Editor is placed in primary monitor
- Transition delay is ignored when opacity is listed before scale in transition-property of the Styles.uss file
- “NullReferenceException” error thrown in the Console when pressing kebab button in Pipeline Specific Settings for Default Profile in Project Settings window
- [Silicon] Crash on os_unfair_recursive_lock_lock_with_options when opening a project while the Razer Synapse app is open
- Build fails with a warning when running Unity Editor’s csc.dll manually using dotnet command
Resolution Note:
This part has been removed in newer version of Device Simulator.
If you want settings to persist, you should set them in Player Settings.