Search Unity

Bug Standalone Profiler hangs when CInemachine 2.8.4 is installed

Discussion in 'Cinemachine' started by superkerokero, Dec 24, 2021.

  1. superkerokero

    superkerokero

    Joined:
    Dec 9, 2015
    Posts:
    8
    - Unity Version: 2021.2.7f1
    - Cinemachine Version: 2.8.4


    When cinemachine 2.8.4 is installed via Package Manager, standalone profiler hangs on both windows and mac. Uninstalling cinemachine makes the standalone profiler working again.

    *Only standalone profiler hangs, normal profiler works just fine.
     
  2. antoinecharton

    antoinecharton

    Unity Technologies

    Joined:
    Jul 22, 2020
    Posts:
    189
    Hello,

    Just to let you know we have a fix for it and should be out in the coming releases. Thank you for reporting it :)
     
  3. qsleonard

    qsleonard

    Joined:
    Dec 26, 2018
    Posts:
    15
    I can't see this issue in "known issues" of 2021.2.7/8/9. I've tried 2021.2.10 - the bug still occures. Can you tell when you going to release the fix? Thanks.
     
    Last edited: Feb 3, 2022
  4. SideSwipe9th

    SideSwipe9th

    Joined:
    Jan 10, 2019
    Posts:
    46
    @antoinecharton Is there any update on when this will be fixed, or workarounds?

    I've recently updated a project to Unity the 2021.3 LTS, and keep getting a freeze on the standalone profiler. Strangely it wasn't happening in the 2020.3 LTS. The modal popup in the profiler window specifies that it's waiting for code to execute in Cinemachine.Editor.CinemachineSettings.OnPackageLoadedInEditor. Looking at the code, it seems to be an attempt at making sure the Cinemachine logo texture is set. Would embedding the Cinemachine package into my project, and then commenting out lines 264-273 of CinemachineSettings workaround this bug and restore standalone profiler access?
     
    andreiagmu and blackmodjo like this.
  5. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    yup
     
    andreiagmu and SideSwipe9th like this.
  6. KinanGH

    KinanGH

    Joined:
    Dec 3, 2019
    Posts:
    37
    I have this same issue too,
    upload_2022-11-22_14-51-59.png
    The standalone profiler freezes when opening it.
    Using Unity 2021.3.0f1.
     
  7. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    This has been fixed. Please upgrade your Cinemachine version to get the fix.
     
    KinanGH likes this.