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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment