Search Issue Tracker
Fixed in 3.0.0-preview
Votes
1
Found in [Package]
2.2.3 - preview
Issue ID
1217727
Regression
No
[Device Simulator] Performance is negatively affected by Simulator window
Reproduction steps:
1. Create a new project
2. Install Device Simulator Package via Package Manager
3. Import "FPSCounter.cs" script (attached in edits)
4. Attach the script to any GameObject in Hierarchy
5. Open Device Simulator Window (Window -> General -> Device Simulator)
6. Edit the window layout to match "Layout.png"
7. Enter Play Mode and make sure the Simulator window is invisible
8. Inspect the framerate in the Console or bottom left corner of the editor
9. Close Simulator Window
Expected result: framerate will be the same as in step 8 (read notes below)
Actual result: framerate greatly increases, meaning the Simulator window was causing the framerate to drop
Reproducible with: Device Simulator 1.0.0 - preview (2019.4.10f1), Device Simulator 2.2.3 - preview (2019.4.10f1, 2020.1.5f1, 2020.2.0b2)
Could not test with 2018.4 because Device Simulator Package is not available
Tested Windows and Mac
Notes:
1. This can also be seen in Profiler (cmd/ctrl + 7)
2. Reproducible in all package versions
3. Images and videos are attached
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 3.0.0-preview):
Fixed in Device Simulator 3.0.0-preview (verified in 2019.4.27f1 (23dc10685eb4))