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: Inspector section icon is less sharp/more pixelated than other editor icons
- Search description string is always truncated
- [VFX] When Grouped Nodes are converted to Subgraph Operator resulting Graph Node is not included in the Group
- Search window icons are less sharp/more pixelated than other editor icons
- The Inspector can be covered when scaling the horizontal separator bar
Add comment