I updated my unity project and now the post proccesing package doesnt work anymore.
I updated my unity project and now the post proccesing package doesnt work anymore.
NullReferenceException: Object reference not set to an instance of an object UnityEngine.Rendering.PostProcessing.AmbientOcclusion.IsEnabledAndSupported (UnityEngine.Rendering.PostProcessing.PostProcessRenderContext context) (at Assets/PostProcessing/Runtime/Effects/AmbientOcclusion.cs:179) UnityEngine.Rendering.PostProcessing.PostProcessLayer.SetLegacyCameraFlags (UnityEngine.Rendering.PostProcessing.PostProcessRenderContext context) (at Assets/PostProcessing/Runtime/PostProcessLayer.cs:730) UnityEngine.Rendering.PostProcessing.PostProcessLayer.SetupContext (UnityEngine.Rendering.PostProcessing.PostProcessRenderContext context) (at Assets/PostProcessing/Runtime/PostProcessLayer.cs:816) UnityEngine.Rendering.PostProcessing.PostProcessLayer.BuildCommandBuffers () (at Assets/PostProcessing/Runtime/PostProcessLayer.cs:502) UnityEngine.Rendering.PostProcessing.PostProcessLayer.OnPreCull () (at Assets/PostProcessing/Runtime/PostProcessLayer.cs:436) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Answer by infinitypbr · Jan 03, 2020 at 01:48 AM
I found that resetting the Post Process Layer may do the trick.
Answer by LethalInjection · Jun 27, 2020 at 11:39 PM
This worked for me, upgrading from 2018.2 to 2019.4.
I saved settings on the post process layer on the camera object(s).
Reset the component in the top right icon, 3 dots.
Applied respective setttings to each camera and it worked.
Don't forget to save scene if it works.
Your answer

Follow this Question
Related Questions
Starting new 3D project in unity 0 Answers
How to remove grayscreen? 0 Answers
[Hololens] UI elements disappearing when buttons out of view 0 Answers
Help Simple adding a GameObject to an ObjectField() 1 Answer
UMA and makehuman? 1 Answer