Search Issue Tracker

Active

Under Consideration for 6000.3.X, 6000.4.X, 6000.5.X, 6000.6.X

Fix In Review for 6000.6.0a2

Votes

0

Found in

6000.3.11f1

6000.4.0b11

6000.5.0a8

6000.6.0a1

Issue ID

UUM-137197

Regression

Yes

Crash on WriteHitGroupRecordJob when Material ClosestHit uses RWTexture2D (UAV)

Raytracing

-

How to reproduce:
1. Open the attached “IN-137113.zip” project
2. Open the “Start” scene
3. Select the “Dispatch” GameObject
4. Enable “Use UAV From Material” in the “Repro Dispatch” script component
5. Enter Play Mode
6. Observe the crash

Reproducible in: 6000.3.0a1, 6000.3.11f1, 6000.4.0f1, 6000.5.0a9, 6000.6.0a1
Not reproducible in: 6000.0.70f1, 6000.2.0b2

Note: Does not reproduce with DirectX 11

First few lines of stacktrace:
0x00007FFE9552A858 (Unity) WriteHitGroupRecordJob
0x00007FFE9552A9BB (Unity) WriteHitGroupRecordsJobKernel
0x00007FFE95ACA7A5 (Unity) ujob_execute_job
0x00007FFE95ACC61E (Unity) ujob_wait_for
0x00007FFE95AC5807 (Unity) CompleteFenceInternal
0x00007FFE9552B11B (Unity) D3D12RayTracingState::WriteHitGroupShaderRecords

  1. Resolution Note (fix version 6000.6.0a2):

    Fixed in 6000.6.0a2

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.