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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
Add comment