Sprites are not visible when using Rendering.CommandBuffer.Blit with sprite shaders
Unity: 2D
As Designed
7.0.X
6.0.X
As mentioned previously please define unity_SpriteProps and unity_SpriteColor to use Sprite Shaders for Blitting.
Alternatively you may also use a Standard Blit shader. Please do let us know if you need more info. Thanks.
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene“ scene
3. Enter Play Mode
4. Observe the Game View
Expected result: 2 sprites are visible in the Game View
Actual result: The sprite on the right side is invisible in the Game View
Reproducible with: 2023.1.0a11, 6000.0.16f1
Not reproducible with: 2021.3.43f1, 2022.3.43f1, 2023.1.0a10
Couldn’t test with: 2021.3.43f1 (due to compilation errors)
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Prioritise and Follow this issue
Have a workaround or additional info about this issue?