Search Issue Tracker

By Design

Votes

0

Found in

2020.3

2021.1.24f1

2021.3

2022.1

2022.2

Issue ID

1422027

Regression

No

[Metal] Pixelating shader is only working from a specific angle

Metal

-

How to reproduce:
1. Open the user's attached project
2. Open "SampleScene" Scene
3. Observe the Game window

Expected result: The shader effect is visible and the human model is pixeled
Actual result: The shader effect is not visible and the human model is not pixeled

Reproducible with: 10.6.0 (2020.3.13f1), 10.9.0 (2020.3.34f1), 12.1.6 (2021.3.2f1), 13.1.8 (2022.1.0f1), 14.0.2 (2022.2.0a13)
Could not test with: 7.7.1 (2019.4.39f1) (Errors after project downgrade), 10.5.1 (2020.3.12f1) (Black screen)

Notes:
- With some versions (2020.3.24f1, 2021.2.0b1, 2021.2.0b17), the shader effect is visible if adding a GameObject to a "Pixel" Layer placing it in the Scene view, and moving the view to a specific angle
- Errors when building can't test the Player
- Reproduced with URP, could not test with HDRP because of the pink screen
- Not reproducible with Windows

  1. Resolution Note:

    The project's custom render pass sets the camera target correctly. This is also indicated by the following warning found in the console

    CommandBuffer: temporary render texture _CameraColorTexture not found while executing BasicFeature (SetRenderTarget)
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.