Skip to content

Fix mesh re-allocation logic - #25259

Draft
JMS55 wants to merge 1 commit into
bevyengine:mainfrom
JMS55:fix-mesh-reallocation
Draft

Fix mesh re-allocation logic#25259
JMS55 wants to merge 1 commit into
bevyengine:mainfrom
JMS55:fix-mesh-reallocation

Conversation

@JMS55

@JMS55 JMS55 commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Objective

Fix #18808
Fix #24892

Solution

Drop added meshes before allocation, in case they already had an allocation, and generally manage slabs a little more carefully.

@JMS55 JMS55 added this to the 0.19.1 milestone Aug 2, 2026
@JMS55 JMS55 added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Aug 2, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in Rendering Aug 2, 2026
@JMS55
JMS55 marked this pull request as draft August 2, 2026 04:27
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 S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

MeshAllocator leaks GPU memory on in-place mesh modification GPU memory leak when removing then inserting a mesh from Assets

1 participant