24.09 Release - ProjectedShadowmapAtlas memory leak #18507
Labels
kind/bug-2409
Used for stabilization/24.09 issues
sig/graphics-audio
Categorizes an issue or PR as relevant to SIG graphics-audio.
Bug Description
When creating repeatedly entering Game Mode AttachmentImages
ProjectedShadowmapAtlas.Main
tend to accumulate and are not cleaned up. This results in GPU memory leak after each enter / exit Game Mode, size is propotional to number of lights on the scene.Assets-Required
DefaultLevel from DefaultProject
Steps to Reproduce
GPU memory increases after each game mode change.
Expected Behavior
GPU memory usage should return to original state after game mode exit.
Actual Behavior
GPU memory is still occupied after game mode exit.
Screenshots/Videos
GPU memory usage after starting Editor:
After several game mode changes memory looks similarly to:
Found In Branch
release tag 2410.1
Commit ID From
o3de/o3de - 2410.1
commit id: c602b49
Desktop/Device
Device: PC
OS: Ubuntu 22.04.5 LTS x86_64
CPU: 11th Gen Intel i7-11800H
GPU: NVIDIA GeForce RTX 3070 Mobile
Memory: 64GB
Additional Context
Issue also occurs in GameLauncher when using
ILevelSystem::LoadLevel
The text was updated successfully, but these errors were encountered: