How to reproduce:
1. Open the project βIN-101584_VLCMemoryLeak6000β
2. Build the project, File β Build and Run
3. In the Standalone Player check the box "Update external textures"
4. Observe the application memory usage (for example: using the Task Manager)
Expected result: The memory does not grow indefinitely
Actual result: The memory keeps growing indefinitely
Reproducible with: 2022.3.62f1, 6000.0.49f1, 6000.1.4f1, 6000.2.0b1
Could not test with: 2022.1.0a1 (custom script problems)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- Recommended to test for about 24h
- Did not check for regression due to long testing time
- Do not minimize the standalone player or let the computer sleep as this supposedly sometimes releases memory
- For the 2022.3.62f1 version, remove the packages that are throwing errors and remove the using static UnityEngine.Rendering.GPUSort; in the VLCScene.cs