Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMCL-1599: Refactor CinemachineDebug.OnGUIHandlers to eliminate garbage #1021

Merged
merged 10 commits into from
Aug 6, 2024

Conversation

glabute
Copy link
Collaborator

@glabute glabute commented Aug 1, 2024

Purpose of this PR

CM will generate garbage (in editor only) due to the presence of CinemachineBrain.OnGUI.
This is not a big problem since it does not happen in the build, but this PR addresses it for cleanliness.
We used the suggestion offered on the forums: https://discussions.unity.com/t/cinemachine-generates-garbage/698224/8

Testing status

  • Added an automated test
  • Passed all automated tests
  • Manually tested

@glabute glabute marked this pull request as draft August 1, 2024 19:30
@glabute glabute removed the request for review from vanessa-simard August 1, 2024 19:54
@glabute glabute merged commit 89fafa2 into main Aug 6, 2024
3 checks passed
@glabute glabute deleted the dev/CinemachineDebug.OnGUIHandlers-refactor branch August 6, 2024 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant