Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.2.X
Votes
0
Found in
2017.3.0a1
2018.2.14f1
2018.3.0a1
2019.1.0a1
2019.2.0a1
Issue ID
1099027
Regression
No
Using .NET API 4.x increases performance spike in Scripts twice when selecting an object with a script for the first time
Reproduction steps:
1. Open "MinimalRepro.zip" project
2. Open the Profiler and enable "Deep Profile" and "Profile Editor"
3. Record and Enter Play mode
4. Click on "GameObject" in the Hierarchy window
5. Turn off Record and Exit Play mode
6. Notice a spike of ~800ms in Scripts
7. Change the Scripting Runtime Version to .NET API 4.x
8. Repeat steps 2-6
9. Notice a spike of ~1600ms in Scripts
Expected Result: .NET API 4.x has the same performance as .NET API 3.5
Actual Result: Using .NET API 4.x decreases performance in Scripts twice
Reproduced with: 2019.2.0a4, 2019.1.0b2, 2018.3.5f1, 2017.4.20f1
Note:
The script attached to the "GameObject' just has a public GameObject
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment