Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2017.4.X, 2018.3.X
Votes
0
Found in
2018.3.0b2
Issue ID
1085304
Regression
No
GameObject.AddComponent performance severely degrades in execution time with each call when the call is inside a namespace
How to reproduce:
1. Open user-submitted project (AddComponentDegradation)
2. Open the Scene 'RuntimeTest' and enter Play Mode, observe the Console window
3. Open the Scene 'RuntimeTestWithNamespace' and enter Play Mode, observe the Console window
Expected result: performance in the 'RuntimeTestWithNamespace' scene does not degrade with each call
Actual result: performance in the 'RuntimeTestWithNamespace' scene degrades with each call
Reproducible with: 2017.4.12f1, 2018.1.9f2, 2018.2.11f1, 2018.3.0b5, 2019.1.0a3
Notes:
The issue can also be reproduced in a built player
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment