Search Issue Tracker
Feature Request
Votes
0
Found in
2022.2.13f1
2023.1.0b10
2023.2.0a8
Issue ID
UUM-31847
Regression
No
GraphicsBuffer.LockBufferForWrite does not render GameObjects when using Direct3D12 Graphics API
How to reproduce:
1. Open the “Million_Cubes” project
2. Open the “SampleScene”
3. Enter Play Mode and observe Game View
Expected result: a large amount of cube GameObjects are rendered
Actual result: no cube GameObjects are rendered
Reproduced with: 2022.2.13f1, 2023.1.0b10, 2023.2.0a8
Could not test with: 2020.3.46f1, 2021.3.22f1 → “GraphicsBuffer” does not contain a constructor that takes 4 arguments
Reproduced on: Windows 11
Notes:
1. Not reproducible when using Direct3D11 or Vulkan Graphics APIs
2. Also reproducible in Player
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
The PSO creation in DX12 fails due to color data not being fully written in vertex stage. This is a request for shader compiler to give better debug output for this. If an output is declared in vertex shader and is read on the pixel shader all the values must be written into with no values being left as undefined. So a float4 needs to have all 4 components filled. Shader compiler could theoretically do it it automatically but currently it does not.
After manually setting all the unfulfilled output values in the vertex shader it works.