2
6
Fork
You've already forked ProtoGame
0

Scene Manager Memory Errors #10

Closed
opened 2025年12月31日 23:06:37 +01:00 by Gota7 · 0 comments
Owner
Copy link

Currently there are some bugs in how the scene manager deals with arenas. Mainly in the changeScene and replaceSceneActors functions. There are runaway allocations and some memory reference that had just be freed from the arena. A better approach to prevent this would be to have 2 scene arenas and use them like a ring-buffer. When the scene is changed use the new scene allocator.

Currently there are some bugs in how the scene manager deals with arenas. Mainly in the `changeScene` and `replaceSceneActors` functions. There are runaway allocations and some memory reference that had just be freed from the arena. A better approach to prevent this would be to have 2 scene arenas and use them like a ring-buffer. When the scene is changed use the new scene allocator.
Gota7 added this to the 1.0.0 milestone 2025年12月31日 23:06:37 +01:00
Gota7 added this to the Jupiter project 2025年12月31日 23:06:37 +01:00
Sign in to join this conversation.
No Branch/Tag specified
main
editor
docs
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
7Games/ProtoGame#10
Reference in a new issue
7Games/ProtoGame
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?