How to reproduce:
- Create a new 3D project
- Open the Package Manager window and install the “com.unity.render-pipelines.core” package
- In the Menu bar select “Edit” -> “Project Settings” -> “Player” -> “Other Settings” and enable “Allow ‘unsafe’ Code”
- Import the attached “IN-156611_StringQueueEmptyStringRepro” script
- In the Menu bar select “Tools” -> “Bug Repros” -> “IN-156611 SRP Core FixedBufferStringQueue empty string”
- Observe the Console window
Actual result: The last log in the Console window is “IN-156611 rows=4 passed=2 flagged=2”
Expected result: The last log in the Console window is “IN-156611 rows=4 passed=4 flagged=0”
Reproducible with: 6000.0.0f1, 6000.7.0b11, 7000.0.0a20
Reproduced on: Windows 10 (by user), Windows 11
Not reproduced on: No other environment tested