Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

6000.3.12f1

6000.4.1f1

6000.5.0b1

6000.6.0a1

Issue ID

UUM-137629

Regression

Yes

Unity Player loads D3D12 DLL even when Direct3D12 is removed from Project Settings

DirectX12

-

How to reproduce:
1. Open the attached “IN-137670” project
2. Confirm that D3D12 is absent in “Edit → Project Settings -> Other Settings -> Graphics API for Windows”
3. Navigate to “File → Build profiles" and build for Windows
4. Run the .exe of the built project
5. Navigate to “%USERPROFILE%\AppData\LocalLow\CompanyName\ProductName\”
6. Open Player.log
7. Observe the lines referring to D3D12, for example:
[D3D12 Device Filter] Vendor Name: NVIDIA
[D3D12 Device Filter] Device Name: NVIDIA GeForce RTX 3050 Ti Laptop GPU
[D3D12 Device Filter] Driver Version: 32.0.15.7357

Actual result: Unity loads D3D12 DLLs despite D3D12 being removed from the build
Expected result: Unity does not load D3D12 DLLs when D3D12 is removed from the build

Reproducible with: 6000.2.7f1, 6000.3.12f1, 6000.4.1f1, 6000.5.0b1, 6000.6.0a1
Not reproducible with: 6000.0.71f1, 6000.2.6f2

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Note:
-This bug will result in a crash on specific hardware

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.