Search Issue Tracker

Fixed in 2022.2.X

Votes

0

Found in

2022.1

2022.1.0a13

Issue ID

1380616

Regression

No

Crash onDrawBuffersCommon when editing and saving .cginc file

DirectX12

-

Reproduction steps:
1. Open the user's attached project
2. Open the ReflectionPayload.cginc file
3. Make changes in the file.
4. Go back to the editor
5. Repeat 3 and 4 steps until Unity crashes

Expected result: The Editor works just as before changing the file
Actual result: Editor crashes

Reproducible with: 2022.1.0b2
Could not reproduce with: 2021.2.7f1: crash on open (BufferD3D12::BeginWrite), 2020.3.25f1: crash on open (GfxDeviceWorker::RunCommand), 2019.4.34f1: compilation errors (No overload for method 'GetProjectionMatrix' takes 1 arguments etc.)

Notes: the issue is reproducible ~1/20 times

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.