Search Issue Tracker
Fixed
Fixed in 2021.3.40f1, 2022.3.32f1, 6000.0.1f1
Votes
0
Found in
2021.3.36f1
2022.3.22f1
2023.2.15f1
6000.0.0b12
Issue ID
UUM-66900
Regression
No
[DirectX 12] CopyComputeBufferCount is getting a wrong value when the resource transition is missing
How to reproduce:
1. Download https://renderdoc.org/builds application
2. Open the “CopyCounterIssue_2022_3_18” project
3. Open the “OutdoorsScene”
4. Right-click on the Game View window tab
5. Select “Load RenderDoc” option, icon with the camera will appear next to the frame debugger
6. Enter the Play Mode
7. Click on the camera icon, RenderDoc with the capture will be opened automatically
8. Double-click on the capture appeared in the RenderDoc to load the rdc file
9. Search for “TestCopyCount” section in the Event Browser window
10. See if there is “TestComputeShaderCopyCount - 5” event, if no proceed with step 14
11. Expand the “TestComputeCopyCount - 5” event and select “ExecuteIndirect” action
12. Open the “Pipeline State” window and click on the “CS” button
13. Look for the “AppendNodeList” values under the UAVs section
14. Expand the “TestComputeCopyCount - 4” event and select “ExecuteIndirect” action
15. Look for the “AppendNodeList” values under the UAVs section
16. With “ExecuteIndirect” action selected open the API Inspector window
17. In the API Inspector window search for Buffer-256-12 under the “ExecuteIndirect” action
18. Click on Buffer-256-12 to open its' window and then click on “View Contents” button
19. Compare the appeared data with the [0] arg0: IndirectDispatch values
Expected result: The “AppendNodeList” values of the last “TestComputeCopyCount” should be 2500 and Buffer-256-12 data should be the same as the values of the [0] arg0: IndirectDispatch
Actual result: The “AppendNodeList” values of the last “TestComputeCopyCount” are 10000 and Buffer-256-12 data is not the same as the values of the [0] arg0: IndirectDispatch
Reproducible in: 2021.3.36f1, 2022.3.22f1, 2023.2.15f1, 6000.0.0b12
Reproduced on: Windows 10
Not reproduced on: No other environments tested
Note:
- The reproduction results and the values are depended on the tester’s machine
- Please refer to the https://forum.unity.com/threads/directx12-executeindirect-instance-count-error.1547288/ forum for the additional details
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Line Brush blue outline appears at incorrect position when painting start of line in Tile Palette
- [URP] All materials render black when building via batchmode or without rendering Scene/Game view in Editor if Decal renderer Technique is set to "Automatic"
- Player Tags list shows extra blank space behind the scrollbar in the "Player Tags" settings window
- Edit Angular Limits gizmo handles are small and easy to miss-click in the Scene view
- Duplicate Player Tag save fails silently with no error or validation message
Add comment