stride3d / stride3d/stride

Editor Scene Hierarchy Memory Leak

Open
#2,268 8 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-GameStudio bug
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type: Official Release/GitHub (please choose appropriate option)
4.2

Describe the bug
The Editor has a memory leak in the assethierarchy or something that is connected to it

To Reproduce
Steps to reproduce the behavior:

  1. new standard project
  2. watch at your mb used ( around 300 )
  3. click through the scene hierarchy, order doesnt matter, just click on items in the scene hierarchy in random order
  4. swapping 4 times the item in the hierarchy , the usage goes up by 12mb and stays at that level

Expected behavior
The memory usage shouldnt just increase by clicking in the scene hierarchy

Screenshots
grafik
grafik

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the leak in a new standard project: monitor memory, then click items in the scene hierarchy in random order and repeat the selection four times. Done means repeated scene-hierarchy selection no longer leaves the editor using additional memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.