Search Unity

Fixed Update Stops Soft Follow

Discussion in 'Cinemachine' started by Zucchinipi, Nov 6, 2018.

  1. Zucchinipi

    Zucchinipi

    Joined:
    Jan 12, 2017
    Posts:
    9
    Hi,

    Everything else held constant, when I change the Brain's Update Method to Fixed Update, in one project the camera always snaps to the target it's following instead of easing into the position as it does when the method is Smart or Late. Any idea why this might be? If it helps, the Cinemachine still respects the Confine2D property it has.

    Thanks!
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,730
    This is a bug in CM, fixed in CM 2.2.8 (available now in preview).
    Why can't you just leave the Brain's update on Smart?
     
  3. Zucchinipi

    Zucchinipi

    Joined:
    Jan 12, 2017
    Posts:
    9
    Ah, thanks! Turns out I had an unrelated bu, all good now.
     
  4. mdeletrain

    mdeletrain

    Joined:
    Jun 8, 2011
    Posts:
    47
    Hi, I have the same issue and tried updating to 2.2.8 from preview packages but that version is not listed even if I display preview packages from the advanced menu of package manager.
    I tried to set version to 2.2.8 from the manifest file but package is not found either.
    How can I configure package manager to find 2.2.8 preview ?
     
  5. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,730
    With a text editor edit your project's Packages/manifest.json file and add this line:
    "registry": "https://staging-packages.unity.com",
    immediately before the "dependencies" line. Then open Package Manager, and you will see the experimental and unpublished content in addition to full-fledged releases. Use at your own risk.
     
  6. mdeletrain

    mdeletrain

    Joined:
    Jun 8, 2011
    Posts:
    47
    Ok, thanks, trying right now.
    Seeing dependencies are set out of registry setup, I bet the change is global.
    Isn't there a way to say dependency X must be grabbed from registry Y ?
     
  7. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,730
    Yes, it's global, but the staging registry includes all the stuff in the normal registry, so you won't lose anything
     
  8. mdeletrain

    mdeletrain

    Joined:
    Jun 8, 2011
    Posts:
    47
    Ok, I tried and things seems to be working as expected now. Thanks again !

    Using 2.2.7 was not properly tweening and using 2.2.0 was spitting a lot of exceptions because of another issue that has been fixed in 2.2.7 so I was looking forward to get an update.
    Our game is not not be released before several months so that's fine to wait on a preview version for now.
     
    Gregoryl likes this.