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

Package: Device Simulator

-

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

  1. Resolution Note (fix version 3.0.0-preview):

    Fixed in Device Simulator 3.0.0-preview (verified in 2019.4.27f1 (23dc10685eb4))

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.