Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    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. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  4. Want to see the most recent patch releases? Take a peek at the patch release page.
    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:
    696
    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:
    1,532
    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.