Search Issue Tracker

Third Party Issue

Votes

1

Found in [Package]

12.0.0

Issue ID

1344338

Regression

No

[M1][MacOS] Shadow Caster 2D has an incorrect shadow on specific angles when using an M1 Mac

Package: Scriptable Render Pipeline Universal

-

How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. In the Scene View, inspect the shadow casted by the "Square" GameObject

Expected result: Shadow is behind the Sprite in the opposite side of the Light Source
Actual result: There's a shadow going through the Light Source as well

Reproducible with: 7.6.0 (2019.4.28f1), 10.5.0 (2020.3.13f1), 11.0.0 (2021.1.13f1), 12.0.0 (2021.2.0b1)

  1. Resolution Note:

    It is caused by an issue where a Metal shader that clamps a value between 0.0 and 1.0 returns -1 in some cases on the M1 GPU. We have filed a Radar ticket with Apple https://chirp.apple.com/problem/83943410.

Comments (1)

  1. rabiifromspace

    Dec 08, 2021 08:56

    Is there a temporary solution for this ?

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.