Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Errot with Default Blend = Cut

Discussion in 'Cinemachine' started by unity_XwtxrXBR9uEeGQ, Jul 30, 2020.

  1. unity_XwtxrXBR9uEeGQ

    unity_XwtxrXBR9uEeGQ

    Joined:
    Mar 20, 2020
    Posts:
    1
    Hello.
    I hava a problem with Cinemachine version 2.6.0 and 2.6.0 preview.8. Unity 2019.2.19f1.
    When I set Default Blend to "Cut", I see errors:
    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEngine.Rendering.PostProcessing.PostProcessLayer.ResetHistory () (at Library/PackageCache/com.unity.postprocessing@2.1.6/PostProcessing/Runtime/PostProcessLayer.cs:726)
    3. Cinemachine.PostFX.CinemachinePostProcessing.OnCameraCut (Cinemachine.CinemachineBrain brain) (at Library/PackageCache/com.unity.cinemachine@2.6.0-preview.8/Runtime/PostProcessing/CinemachinePostProcessing.cs:185)
    4. UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) (at C:/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:207)
    5. UnityEngine.Events.UnityEvent`1[T0].Invoke (T0 arg0) (at C:/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent/UnityEvent_1.cs:58)
    6. Cinemachine.CinemachineBrain.ProcessActiveCamera (System.Single deltaTime) (at Library/PackageCache/com.unity.cinemachine@2.6.0-preview.8/Runtime/Behaviours/CinemachineBrain.cs:587)
    7. Cinemachine.CinemachineBrain.ManualUpdate () (at Library/PackageCache/com.unity.cinemachine@2.6.0-preview.8/Runtime/Behaviours/CinemachineBrain.cs:355)
    8. Cinemachine.CinemachineBrain.LateUpdate () (at Library/PackageCache/com.unity.cinemachine@2.6.0-preview.8/Runtime/Behaviours/CinemachineBrain.cs:312)
    Everything is ok when Default Blend is not set to "Cut". How I can solve this problem?

    Thanks
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    3,962
    I can't reproduce your issue with Unity 2019.4.5f1, Cinemachine 2.6.0, and PostProcessing 2.3.0.
    Can you give more detailed repro steps, or enclose a simple project that demonstrates this problem?
     
unityunity