Search Issue Tracker

Fixed in 2019.3.X

Votes

0

Found in

2020.1.0a1

2020.1.0a10

Issue ID

1193053

Regression

Yes

[Profiler] Non matching Profiler.EndSample exception is thrown on creating any Preset while Profiler opens in Editor mode

Profiling

-

Non matching Profiler.EndSample exception is thrown on creating any Preset while Profiler opens in Editor mode

Steps to repro:
1. Create a new Project.
2. Windows > Analysis > Profiler > Select Editor mode.
3. Create a Cube game object.
4. Create a preset of Cube.

Actual Result:
NullReferenceException error in the console.

Expected Result:
No error in the console.

Reproducible on:
2020.1.0a10, 2020.1.0a1.

Working Fine in:
2019.3.0b8.

Environment:
Windows 10 & Mac 10.14.

Stack trace:
Non matching Profiler.EndSample (BeginSample and EndSample count must match): AssetDatabase.V2.ImportManagerImportInProcess
Previous 5 samples:
File.Close
File.Write
File.Open
File.Close
File.Read
In the scope:
AssetDatabase.V2.ImportManagerImport
AssetDatabase.V2.ImportAndPostprocessOutOfDateAssets
AssetDatabase.V2.RefreshInternal
UIElementsUtility.DoDispatch(Non Repaint Event)
UnityEngine.IMGUIModule.dll!UnityEngine::GUIUtility.ProcessEvent()

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.