Search Unity

  1. Check out the Unite LA keynote for updates on the Visual Effect Editor, the FPS Sample, ECS, Unity for Film and more! Watch it 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. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

PP Extension script reference broken on play

Discussion in 'Cinemachine' started by MvdLaar, Nov 9, 2018 at 8:50 AM.

  1. MvdLaar

    MvdLaar

    Joined:
    Dec 27, 2012
    Posts:
    17
    Hi!

    In our game we have a bunch of vcams set up, all triggered according to the logic of the player. One of them is a certain lens, and we'd like to use a simple PP override when using it.

    However, when pressing play and then reopening the editor or building the game, the vcam loses the script reference of the PP override, for some reason (see attachment for visuals and the errors).

    Is this a known issue? We have tried things with layers, volumes and more, but it seems that the simple extension should be working. What are we missing?

    We are on Unity 2017.3.1p1 and Cinemachine 2.1.10.
     

    Attached Files:

  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    1,731
    This is not a known issue, but is sounds like you have some metafile corruption in your project. One thing you can try (after making a backup!) is this:
    1. make a backup of your project (did I mention that?)
    2. open an empty scene
    3. delete the Cinemachine and PostProcessing assets from your project.
    4. reinstall post processing, then Cinemachine
     
  3. MvdLaar

    MvdLaar

    Joined:
    Dec 27, 2012
    Posts:
    17
    Alright, we'll try that, thank you!