Search Issue Tracker
Fixed in 2017.3.0f3
Fixed in 2017.1.X, 2017.2.X
Votes
0
Found in
2017.1.0f3
Issue ID
931981
Regression
Yes
Profiler shows garbage collection execution time as script execution time when using experimental .NET 4.6
Profiler shows garbage collection execution time as script execution time when using experimental .NET 4.6. Using Stable .NET 3.5 it shows garbage collection as it should be.
To reproduce:
1.Open users attached project "ProfilerBug.zip"
2.Open "PlayThis.unity" scene
3.Open Profiler window
4.Make sure that Scripting Runtime Version in player settings is set to Experimental .NET 4.6
5.Enter play mode
6.Observe in the profiler as the garbage colection execution time is shows as script
7.Exit play mode and in player settings enable Stable .NET 3.5 Scripting Runtime Version
8.Enter play mode
9.Observe in the profiler as the garbage collection execution time is show correctly
Expected result: using both Scripting Runtime Versions, profiler show correct garbage collection execution times
Actual result: using experimental .NET 4.6 garbage collection is shown as script
Reproduced on:2017.1.0b3 2017.1.0b5 2017.1.0b10 2017.1.0f3 2017.2.0b3
Not reproduced on: 2017.1.0b1
Regression introduced in 2017.1.0b2
Notes: turning off scripts in the profiler, the profiler shoes nothing
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment