Editor crash on 2023.1.0f1 DX12

Have editor crash with DX12 on play, Not sure if its an issue is specific with my ARC 770 graphics :face_with_spiral_eyes:
[quote]
3d12: upload buffer was full! Waited for COPY queue for 0.709 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.236 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.038 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.043 ms.
d3d12: upload buffer was full! Waited for COPY queue for 0.246 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.314 ms.
d3d12: upload buffer was full! Waited for COPY queue for 0.223 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.267 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.506 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.152 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.244 ms.
Loaded scene 'Temp/__Backupscenes/0.backup'
Deserialize: 1.962 ms
Integration: 1101.037 ms
Integration of assets: 0.047 ms
Thread Wait Time: 0.009 ms
Total Operation Time: 1103.055 ms
[Licensing::Client] Successfully resolved entitlement details
d3d12 : CreateCommittedResource 'TexturesD3D12::CreateTextureInternal() Texture' (64 x 64) format 2 failed (887a0005).
Device Remove Reason (HRESULT): 0x887a0020
Device Memory Stats:
Local AvailableForReservation: 7871 MB, Budget: 15487 MB, CurrentUsage: 1097 MB, CurrentReservation: 64 MB
Non-local AvailableForReservation: 7889 MB, Budget: 15522 MB, CurrentUsage: 49 MB, CurrentReservation: 0 MB
d3d12: failed to create 2D texture id=1694 w=64 h=64 mips=1 d3dfmt=2
d3d12: swapchain present failed (887a0005).
d3d12: swapchain present failed (887a0005).
Device removed reason (887a0020).
GfxDevice was not out of Local memory
Local memory usage:
Budget: 16239296512
CurrentUsage: 1151074304
AvailableForReservation: 67108864
CurrentReservation: 8253865984
GfxDevice was not out of Non-Local memory
Non-Local memory usage:
Budget: 16276742144
CurrentUsage: 52027392
AvailableForReservation: 0
CurrentReservation: 8272588800
Set -force-d3d12-debug for more information on device removal
d3d12: swapchain present failed (887a0005).
d3d12: swapchain present failed (887a0005).
Device removed reason (887a0020).
GfxDevice was not out of Local memory
Local memory usage:
Budget: 16239296512
CurrentUsage: 1137639424
AvailableForReservation: 67108864
CurrentReservation: 8253865984
GfxDevice was not out of Non-Local memory
Non-Local memory usage:
Budget: 16276742144
CurrentUsage: 52027392
AvailableForReservation: 0
CurrentReservation: 8272588800
Set -force-d3d12-debug for more information on device removal
d3d12 : CreateCommittedResource 'TexturesD3D12::CreateTextureInternal() Texture' (64 x 64) format 2 failed (887a0005).
Device Remove Reason (HRESULT): 0x887a0020
Device Memory Stats:
Local AvailableForReservation: 7871 MB, Budget: 15487 MB, CurrentUsage: 1084 MB, CurrentReservation: 64 MB
Non-local AvailableForReservation: 7889 MB, Budget: 15522 MB, CurrentUsage: 49 MB, CurrentReservation: 0 MB
d3d12: failed to create 2D texture id=1702 w=64 h=64 mips=1 d3dfmt=2
d3d12: CreateCommittedResource failed for a 2D render texture (887a0005).
d3d12: CreateCommittedResource failed for a 2D render texture (887a0005).
d3d12: CreateCommittedResource failed for a 2D render texture (887a0005).
d3d12: CreateCommittedResource failed for a 2D render texture (887a0005).
d3d12: CreateCommittedResource failed for a 2D render texture (887a0005).
d3d12: CreateCommittedResource failed for a 2D render texture (887a0005).
d3d12: CreateCommittedResource failed for a 2D render texture (887a0005).
d3d12: CreateCommittedResource failed for a 2D render texture (887a0005).
d3d12: CreateCommittedResource failed for a 2D render texture (887a0005).
d3d12: CreateCommittedResource failed for a 2D render texture (887a0005).
d3d12: Attempting to bind a NULL or empty texture. Perhaps the texture contains no image data or has an invalid size.
d3d12: Attempting to bind a NULL or empty texture. Perhaps the texture contains no image data or has an invalid size.
d3d12: Attempting to bind a NULL or empty texture. Perhaps the texture contains no image data or has an invalid size.
d3d12: swapchain present failed (887a0005).
d3d12: swapchain present failed (887a0005).
Device removed reason (887a0020).
GfxDevice was not out of Local memory
Local memory usage:
Budget: 16239296512
CurrentUsage: 1137639424
AvailableForReservation: 67108864
CurrentReservation: 8253865984
GfxDevice was not out of Non-Local memory
Non-Local memory usage:
Budget: 16276742144
CurrentUsage: 52027392
AvailableForReservation: 0
CurrentReservation: 8272588800
Set -force-d3d12-debug for more information on device removal
d3d12 : CreateCommittedResource 'BufferD3D12::CreateBufferResource() Buffer' (256 x 1) format 0 failed (887a0005).
Device Remove Reason (HRESULT): 0x887a0020
Device Memory Stats:
Local AvailableForReservation: 7871 MB, Budget: 15487 MB, CurrentUsage: 1084 MB, CurrentReservation: 64 MB
Non-local AvailableForReservation: 7889 MB, Budget: 15522 MB, CurrentUsage: 49 MB, CurrentReservation: 0 MB
d3d12: CreateResource for buffer failed.
d3d12: failed to create a buffer of size 256
d3d12 : CreateCommittedResource 'BufferD3D12::CreateBufferResource() Buffer' (24 x 1) format 0 failed (887a0005).
Device Remove Reason (HRESULT): 0x887a0020
Device Memory Stats:
Local AvailableForReservation: 7871 MB, Budget: 15487 MB, CurrentUsage: 1084 MB, CurrentReservation: 64 MB
Non-local AvailableForReservation: 7889 MB, Budget: 15522 MB, CurrentUsage: 49 MB, CurrentReservation: 0 MB
d3d12: CreateResource for buffer failed.
d3d12: failed to create a buffer of size 24
BufferD3D12 : Unexpected null accessor on Buffer
Crash!!!
[/quote]

Anyone has this issue?

I'm on windows 11 with a laptop that has intel iris Xe graphics and im gettin a similar issue:

[...]
d3d12: upload buffer was full! Waited for COPY queue for 2.096 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.071 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.259 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.159 ms.
d3d12: upload buffer was full! Waited for COPY queue for 1.309 ms.
D3D12 CreateComputePipelineState failed.
d3d12: could not create a compute pipeline state object [887a0005]
Crash!!!

I was able to fix it by having a friend open the project, and under Player Settings > Other Settings > Graphics Apis for windows > Then adding / moving the DirectX11 to the beginning of the list.

2 Likes

There is an open issue here:
https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-4766