Search Issue Tracker

Fixed

Fixed in 6000.0.39f1, 6000.1.0b7, 6000.2.0a4

Votes

0

Found in

6000.0.8f1

6000.1.0a7

6000.2.0a1

Issue ID

UUM-74689

Regression

No

ShadowCaster2D does not update when using Sprite flipbook animation

-

Reproduction steps:
1. Open the attached “BugRepro” project
2. Open “Scenes/SampleScene” Scene
3. Enter the Play Mode
4. Move around using WASD keys
5. Observe the “The Ambulance Driver/Shadow” GameObject in the Game View

Expected result: The shadow’s shape adjusts to match the character’s feet
Actual result: The shadow’s shape does not adjust and stays static

Reproducible with: 6000.0.8f1
Couldn’t test with: 2021.3.40f1, 2022.3.35f1 - “ShadowCaster2D” does not include “ShadowMeshRebuild”

Reproducible on: Windows 10
Not reproducible on: No other environment tested

Workaround:
Set the “ShadowCaster2D” component internal bool “ m_ForceShadowMeshRebuild” to true. In this project uncomment the “Start” function in the “CharacterAnimations.cs” script.

Add comment

Log in to post comment