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

Profiling

-

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

Add comment

Log in to post comment