Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Issue when removing FreeLook gameObject from scene root

Discussion in 'Cinemachine' started by Seith, Sep 11, 2018.

  1. Seith

    Seith

    Joined:
    Nov 3, 2012
    Posts:
    708
    Here's a potential bug report: When changing the default game object CM creates ("CM FreeLook1")'s location in the scene hierarchy then CM breaks down, spitting out a flood of errors. Basically what happens is the Rigs disappear from the bottom of the FreeLook's inspector and CM complains that it can't find them. The errors go away if I put back the CM FreeLook game object at the root of the scene.

    My understanding is FreeLook should work, whether it's at the scene's root or not (I like to keep things organized)...
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    2,063
    Indeed FreeLook does not depend on being anywhere in particular in the hierarchy. You can put it where you want. I'm pretty sure that the weird thing you're seeing is due to something else. The question is: what?

    There is a known issue when copy/pasting a FreeLook behaviour - you will sometimes see that. For sure you should never copy/paste a FreeLook onto a fprefab - that will almost always cause problems. Instead, copy/paste onto an instance in the scene, and apply the changes back to the prefab.