Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
Issue ID
1343602
Regression
No
[DX12] crash when TexturesD3D12::RegisterNativeTexture is called with resource that has *_TYPELESS format
### Repro steps ###
1. Use changeset 1e2674f03162
2. Open D3D12Crash project
3. Attach D3D12Crash.cs to camera
4. Enter play mode
5. Press k
Expected behavior: It's not suppose to crash, should at least display a error message.
Actual behavior: Editor crashes.
### Source of the problem ###
It looks like crash only occurs when the resource has format that is *_TYPELESS and not with other formats. We try to create a SRV by using *_TYPELESS format (which obviously fails) and is most likely the cause of this crash.
This issue is similar to already existing case on DX11:
https://fogbugz.unity3d.com/f/cases/1281016/
### Scope ###
The bug seems to be only reproducible with DX12 and not with other backends
This behavior can be observed in both standalone and editor.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Add comment