Search Unity

PP Extension script reference broken on play

Discussion in 'Cinemachine' started by MvdLaar, Nov 9, 2018.

  1. MvdLaar

    MvdLaar

    Joined:
    Dec 27, 2012
    Posts:
    21
    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:
    7,730
    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:
    21
    Alright, we'll try that, thank you!