Search Issue Tracker
By Design
Votes
1
Found in [Package]
2.9.5
3.0.0-pre.3
Issue ID
CMCL-1458
Regression
No
CinemachineBrain component constantly invokes Garbage Collection when enabled
How to reproduce:
1. Open the "cinemachinebrain_gc" project
2. Open the "SampleScene"
3. Open the Profiler (Window > Analysis > Profiler)
4. Enter Play Mode, wait 1 second, and Pause Game mode
5. Observe the CPU Usage section in the Profiler
6. In Hierarchy find "Main Camera" GameObject and enable the "CinemachineBrain" component
7. Unpause Game Mode and wait for 1 second
8. Pause the Game Mode again and observe the Profiler again
Expected result: Garbage Collection does not occur
Actual result: Garbage Collection always occurs when the “CinemachineBrain” component is enabled
Reproduced with: 2.5.0 (2020.3.46f1), 2.6.11 (2020.3.46f1), 2.9.5 (2020.3.46f1, 2021.3.22f1), 3.0.0-pre.4 (2022.2.13f1, 2023.1.0b10, 2023.2.0a8)
Reproduced on: Windows 11
Note: The size of GC is consistently at 368 bytes
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
The garbage is not present in builds, it's editor-only.