Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

CinemachinePostProcessing.ApplyPostFX() generating garbage collection

Discussion in 'Cinemachine' started by EnriqueGato, Dec 12, 2021.

  1. EnriqueGato

    EnriqueGato

    Joined:
    Sep 3, 2016
    Posts:
    81
    Hi!

    I've been able to remove all the per-frame garbage collection on my project excepting for this. I'm not sure why Cinemachine creates garbage, but I'm unable to find a reason for it. Is this a known issue? I can't find any reference in the docs or forums.

    upload_2021-12-12_20-32-34.png
     
    gaborkb likes this.
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    Thank you for reporting it. We'll look into it!
     
  3. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    gsylvain, Gregoryl and EnriqueGato like this.
  4. EnriqueGato

    EnriqueGato

    Joined:
    Sep 3, 2016
    Posts:
    81
    Thank you for your answer. I added the Post Processing Layer on my Vcam and the garbage collection disappeared.

    Cheers!
     
    Gregoryl likes this.