-
Notifications
You must be signed in to change notification settings - Fork 292
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Meshes and Textures used on GameObject that has LOD Generator Helper stuck in Ram forever
To Reproduce
Steps to reproduce the behavior:
- Put some mesh with material on scene B
- Use this asset to generate LOD
- Create scene A which will be main menu
- Start the game from Scene A and go to scene B
- Now in your RAM you will see every static mesh for each LOD and for each it is separate instance
- Now go back to main menu and check again memory. You will see that these meshes and materials (textures) are still in memory
- If you will play again it will ADD another one to memory instead of using the before one, or release the memory
- Any kind of code with releasing it its not working
Expected behavior
Release all of this from memory once the scene with it its not loaded
Screenshots
A is the starting the game
B is the returning to the main menu (same scene in A)
This is the texture from other scene. It's impossible to release it from memory
Environment (please complete the following information):
- OS: W11
- Unity Version: 2022.3.35f1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working