How to reproduce:
1. Open the “nativerenderpassclearbug“ project
2. Open the “SampleScene”
3. Open and observe the Scene view
4. Open and observe the Game view
Expected result: “Cube” and “Capsule” GameObjects are rendered
Actual result: “Cube” GameObject is rendered but “Capsule” GameObject is not rendered
Reproduced with: 2021.3.27f1, 2022.3.4f1, 2023.1.2f1, 2023.2.0a21
Reproduced on: Windows 10 (by reporter), Windows 11
Could not test on: macOS Ventura 13.4 (Intel) (Vulkan Graphics API is not supported)
Notes:
1. Also reproducible in Player
2. The Player silently crashes after 1-2 seconds of runtime with the 2021.3 stream
3. Reproducible with “Vulkan” Graphics API (Edit > Project Settings > Player > Other Settings)
4. Not reproducible with “Direct3D11”, “Direct3D12”, “OpenGLCore“, “OpenGLES2”, “OpenGLES3”, and “Metal” Graphics APIs