Skip to content

Update SpriteMesh in PostUpdate#23591

Open
GiantBlargg wants to merge 1 commit intobevyengine:mainfrom
GiantBlargg:late_spritemesh
Open

Update SpriteMesh in PostUpdate#23591
GiantBlargg wants to merge 1 commit intobevyengine:mainfrom
GiantBlargg:late_spritemesh

Conversation

@GiantBlargg
Copy link
Copy Markdown
Contributor

@GiantBlargg GiantBlargg commented Mar 30, 2026

Objective

Fixes #23590

Solution

Move SpriteMesh's add_mesh and add_material to PostUpdate
Sprites spawned during PostUpdate will still exhibit the problem, but this is an improvement.

Testing

Test with the reproduction from #23590 to see that it fixes the problem.

@alice-i-cecile alice-i-cecile added this to the 0.19 milestone Mar 30, 2026
@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Mar 30, 2026
@github-project-automation github-project-automation bot moved this to Needs SME Triage in Rendering Mar 30, 2026
@alice-i-cecile alice-i-cecile added the X-Uncontroversial This work is generally agreed upon label Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward X-Uncontroversial This work is generally agreed upon

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

When spawned during Update, SpriteMesh is one frame late compared to Sprite

2 participants