Search Issue Tracker

Active

Under Consideration for 2022.3.X

Votes

0

Found in

2022.3.5f1

2023.1.20f1

2023.2.0f1

2023.3.0a14

6000.0.0b11

Issue ID

UUM-55991

Regression

No

Editor Crashes on CreateDirect3D11SurfaceFromDXGISurface when calling Material.SetFloat() or Material.SetInt()

--

-

How to reproduce:
1. Open the “IN-59842“ project
2. Open the “SampleScene“
3. Select the “Cube“ GameObject
4. In the Inspector window, undock from the lower left corner of the Material component
5. Change the Mode to a different Color

Expected result: Editor continues to run
Actual result: Editor crashes

Reproducible with: 2022.3.5f1, 2023.1.20f1, 2023.2.0f1, 2023.3.0a14
Could not test with: 2021.3.32f1

Reproducible on: Windows 10
Not reproducible on: No other environment tested

First few lines of Stack Trace:
0x00007FFBE5089B71 (d3d11) CreateDirect3D11SurfaceFromDXGISurface
0x00007FFAB0893359 (Unity) GfxDeviceD3D11Base::SetSamplers
0x00007FFAB062CB63 (Unity) GpuProgram::ApplySamplerParameters
0x00007FFAB088696D (Unity) D3D11CommonShader::ApplyGpuProgram
0x00007FFAB0893825 (Unity) GfxDeviceD3D11Base::SetShadersThreadable

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.