Search Issue Tracker
Fixed
Won't Fix in 1.1.X
Votes
1
Found in [Package]
1.0.9
1.1.16
Issue ID
DSTR-52
Regression
Yes
UnityEditor.TestTools.TestRunner uses 896 B of memory each time when Scripts are reimported
How to reproduce:
1. Create a new project
2. Open the Profiler window (Window -> Analysis -> Profiler)
3. Change the Profiler Modules so that only the 'Memory' Module is displayed
4. Create a new Script in the Project window
5. Right-click on the newly created Script and select 'Reimport'
6. Switch to 'Detailed' information type instead of 'Simple'
7. In the Profiler window press 'Take Sample Playmode' or 'Take Sample Editor'
8. Expand 'Scene Memory' -> 'MonoBehaviour'
Expected result: UnityEditor.TestTools.TestRunner did not use any additional memory after reimporting the Script
Actual result: 'UnityEditor.TestTools.TestRunner.RerunCallback' and 'UnityEditor.TestTools.TestRunner.Api.TestRunnerApi' each additionally used 448 B of memory
Reproducible with: 1.0.9 (2019.2.0a11), 1.1.16 (2019.4.12f1, 2020.1.6f1, 2020.2.0b5, 2021.1.0a1)
Not reproducible with: 0.0.4 - preview (2018.4.27f1), 1.0.7 (2019.2.0a10)
Comments (1)
-
Peter77
Sep 25, 2020 10:50
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Fixed in UTF 1.2.1, as the TestRunnerApi is being changed to static and the RerunCallback has been removed.
Resolution Note (1.1.X):
Low capacity to also backport the fix, use our latest UTF release