Search Issue Tracker
Fixed in 2021.2.X
Votes
7
Found in
2019.3.0b10
2020.1
Issue ID
1201096
Regression
No
Timeline leaks memory if being edited after switching Scenes
Reproduction steps:
1. Open the project in "MemLeakTestV3.zip"
2. Select Memory in Profiler and enter Play Mode
3. Notice some memory has been allocated for Audio/Animation clips
4. Open scene "Empty"
5. Enter and Exit Play Mode
6. Notice that memory allocated in step 2 has now been deallocated
7. Go back to "SampleScene" and modify "New Timeline" asset
8. Repeat steps 2-5
Expected result: memory will be deallocated
Actual result: memory stays allocated
Reproducible with: 2018.4.13f1, 2019.2.14f1, 2019.3.0b12, 2020.1.0a14
Could not test with: 2017.4.35f1 (memory would always stay allocated), 2020.1.a15 (seems to have some issues with Playable Director)
Notes:
1. If you reproduce the bug at least once it will always reproduce, no matter what changes you make with the Timeline Asset. The way to restore it is to delete Library folder
2. Make sure that Hierarchy window is selected when you are viewing the Profiler stats as it seems to influence the results in some cases
3. Earlier versions might require you to recreate the entire setup since they do not support the new Timeline Asset
4. Issue is reproducible with any Timelines (not only the ones containing Audio only)
5. Bug sometimes may not reproduce the project is upgraded to another version
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment