Search Issue Tracker
Not Reproducible
Votes
0
Found in
2018.2.0a6
2018.2.0b5
Issue ID
1039319
Regression
Yes
[Profiler] NonmatchingProfiler.EndSample & NullReference Exception thrown when profile recorder and profile editor is enabled.
Non matching Profiler.EndSample (BeginSample and EndSample count must match) exception and NullReferenceException is thrown when profile recorder and profile editor is enabled.
Steps To Reproduce:
1. Create new project or open attached project.
2. Open profiler window
3. Enable "Profiler Editor"
4. Enable "Record"
5. Enable "Deep profiler”
6. Enter play mode in scene
7. Exit Play Mode
Actual result:
Non matching Profiler errors and NullReferenceException are thrown on console.
Occurring on:
2018.2.0b10, 2018.2.0b7 2018.2.0b5, 2018.2.0b3, 2018.2.0a6
Working on:
2018.2.0a5, 2018.1.0f2, 2017.1.0f3
Environment:
Windows 7, 10 and Mac 10.12, 10.13
Stack Trace:
NullReferenceException: Object reference not set to an instance of an object
AddSamples.Update () (at Assets/Testcontents/AddSamples.cs:41)
Non matching Profiler.EndSample (BeginSample and EndSample count must match): EnterPlaymode
Non matching Profiler.EndSample (BeginSample and EndSample count must match): ApplicationTickTimer
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment