Steps to reproduce:
- Create a new 3D URP project
- Open the Profiler window (Window > Analysis > Profiler)
- Switch Target to "Edit Mode" and enable recording
- In the Project window, right-click > Create > MonoBehaviour Script
- Repeat 4th step a few times or wait a bit (sometimes error comes with a delay)
- Observe the Console
Actual results: "Non-matching Profiler.EndSample (Every EndSample call must have a preceding BeginSample call within the same frame): SearchImporter.IndexingRequest" error is thrown
Expected results: No errors
Reproducible with versions: 6000.3.0b1, 6000.3.17f1, 6000.4.10f1, 6000.5.0b11, 6000.6.0a6
Not reproducible with versions: 6000.0.76f1, 6000.3.0a2
Tested on (OS): Windows 11
Notes:
- Reproduction is inconsistent in earlier versions therefore could not find the FAV. Sometimes it would only reproduce the 1st time but could not find a clear FAV
- Additionally, make sure that Console is set to not "Clear on Recompile" to see the error before it gets cleared