Editor Scene Hierarchy Memory Leak
Open
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:
- new standard project
- watch at your mb used ( around 300 )
- click through the scene hierarchy, order doesnt matter, just click on items in the scene hierarchy in random order
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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