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
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Add comment