Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

post processing error

Discussion in 'Scripting' started by Elvin-Hillbird, Jul 12, 2020.

  1. Elvin-Hillbird

    Elvin-Hillbird

    Joined:
    Nov 15, 2012
    Posts:
    13
    I just got this error about eye adaptation component. I don't use eye adaptation. I am using Unity 2018 4.15f. Is there any fix? Thank you.

    NullReferenceException: Object reference not set to an instance of an object
    UnityEngine.PostProcessing.EyeAdaptationComponent.get_active () (at Assets/PostProcessing/Runtime/Components/EyeAdaptationComponent.cs:37)
    UnityEngine.PostProcessing.PostProcessingBehaviour.OnGUI () (at Assets/PostProcessing/Runtime/PostProcessingBehaviour.cs:305)