Search Issue Tracker

Active

Votes

0

Found in [Package]

2.8.0-exp.1

Issue ID

CMCL-381

Regression

Yes

[Cinemachine] GC Allocation increase when using UpdateTargetCache function

Package: Cinemachine Classic

-

How to reproduce:
1. Open the attached "CinemachineTest.zip" project and Scenes/SampleScene scene
2. Enter the Play mode
3. Open the Profiler windows, enable Deep Profiling and start recording
4. Stop recording and select any frame from CPU Usage
5. Search for "Component.GetComponent" and observe the GC Alloc

Expected result: GC Alloc is zero
Actual result: GC Alloc is 1.3 KB

Reproducible with: 2.8.0-exp.1, 2.8.0 (2020.3.14f1, 2021.1.16f1, 2021.2.0b5, 2022.1.0a4)
Not reproducible with: 2.7.5 (2020.3.15f1, 2021.1.16f1, 2021.2.0b5, 2022.1.0a4)
Could not test with: 2019.4 (could not downgrade)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.