Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2020.1.X
Votes
0
Found in
2020.1.0a17
2020.1.0b9
2020.2
Issue ID
1244122
Regression
Yes
[Profiler] MissingProfiler.EndSample errors are thrown on saving a scene in Profiler Edit mode when cache server is connected
When profiling a scene in Edit mode if the changes made in the scene are saved or while renaming any prefab MissingProfiler.EndSample errors are thrown in console when cache server is connected. Refer the attached video
Steps to reproduce:
1) Create a new project
2) Create a prefab of Main Camera by dragging to Project browser
3) Window > Analysis > Profiler
4) Profiler > Select Editor Mode
5) Save the scene
Actual result: Missing Profiler.EndSample errors are thrown
Expected result: No errors should be thrown
Note: Cache server needs to be connected
Occurring in: 2020.2.0a10,2020.2.0a1, 2020.1.0b9 (88b5a833b2fc), 2020.1.0a17
Working fine in: 2020.1.0a16
Environment: Both Windows and Mac
Note: A bug with similar stack trace was fixed recently
https://fogbugz.unity3d.com/f/cases/1181306/
Stack trace:
Missing Profiler.EndSample (BeginSample and EndSample count must match): AssetDatabase.V2.RemoteAssetCacheUploadArtifactFile
Previous 5 samples:
AssetDatabase.V2.UpdateCategorizedAssets
Loading.IDRemapping
FindObjectsOfType
AssetDatabase.V2.ReloadImportedAssets
File.Close
In the scope:
AssetDatabase.V2.RemoteAssetCacheUploadArtifactFile
AssetDatabase.V2.ImportManagerImport
AssetDatabase.V2.ImportAndPostprocessOutOfDateAssets
AssetDatabase.V2.RefreshInternal
AssetDatabase.ImportAtPath
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Add comment