Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2021.3.28f1
2022.3.4f1
2023.1.3f1
2023.2.0a23
Issue ID
UUM-42696
Regression
No
AnimationClip files are too large when they are created
How to reproduce:
1. Open the attached “AnimationClipBug.zip“ project
2. Open the Memory Profiler (Window>Analysis>Memory Profiler)
3. Select the Screenshot on the left of the Memory Profiler window
4. Select the “Object and Allocations“ tab
5. Go to the Object list view and sort descending by size
6. Find an AnimationClip named “IdleBase”
Expected result: Size of the AnimationClip is around 0 bytes
Actual result: Size of the AnimationClip is 4.7 kilobytes
Reproducible with: 2021.3.28f1, 2022.3.4f1, 2023.1.3f1, 2023.2.0a23
Reproduced on: macOS 13.4.1 (Intel, M1)
Note: If creating a new AnimationClip, the size of it may change depending on the minimum block size of your computer's disk format
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][IL2CPP][ARMv7] Struct field value corrupts when invoking a generic delegate with a large struct by value
- Highlights persist throughout Options Panels in the Rendering Debugger Window
- Typing numbers in Matrix node’s numeric fields stretches Node
- Streaming is misspelled as "Steaming" in "Enable GPU Streaming" and "Enable Disk Streaming" tooltpis
- "IndexOutOfRangeException" thrown when moving caret left at start of TMP Input Field with rich text
Resolution Note:
The animation clip also contains more data than just the curves, there is a basic cost of 3.7 kb just for the animation clip class and all the aggregated data inside the animation clip. So an empty clip with no curve still cost 3.7 kb.
Resolution Note (2023.2.X):
The animation clip also contains more data than just the curves, there is a basic cost of 3.7 kb just for the animation clip class and all the aggregated data inside the animation clip. So an empty clip with no curve still cost 3.7 kb.