Search Issue Tracker

Active

Under Consideration for 6000.0.X

Votes

0

Found in

6000.0.8f1

7000.0.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

All about bugs

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