Search Issue Tracker
Fixed in 2019.2.X
Votes
0
Found in
2018.2.0b9
Issue ID
1050966
Regression
No
Absence of Profiler.EndSample() does not give an error
Absence of Profiler.EndSample() does not give an error
1. Open project attached.
2. Enter playmode.
Update() looks like:
private void Update()
{
Profiler.BeginSample("thisIsMySample");
//some code here
Debug.Log("thisIsMySample");
// Profiler.EndSample();
}
Actual result: Sampling is autoclosed in Update.
Expected result: there should be an error about the absence of Profiler.EndSample().
Reproduces in 2017.4.6f1, 2018.2.0b9, 2018.3.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Light" Component's "Culling Mask" setting is hidden but still has an effect when using HDRP
- Selecting the Web platform can be done when using the HDRP project
- Textures swap when SpriteRenderers with shared materials and animators are toggled on and off
- "EndLayoutGroup: BeginLayoutGroup must be called first" is thrown when selecting the wrong executable for the browser and then the right one
- [iOS] [AudioSource] Errors/warning logged and "AudioSettings.OnAudioConfigurationChanged" event not called when disconnecting the Bluetooth heaphones from the device
Add comment