Post Processing Stack Error (Ambient Occlusion)
Post Processing Stack Error (Ambient Occlusion)
Dear Unity, we recently moved across to the ‘Post Processing Stack’ plugin and are getting some strange behavior.
Under the Console there is a repeating error ‘even before running’ saying:
Invalid pass number (1) for Graphics.Blit (Material "(Unknown material)" with 1 passes) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Invalid pass number (3) for Graphics.Blit (Material "(Unknown material)" with 1 passes) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Invalid pass number (5) for Graphics.Blit (Material "(Unknown material)" with 1 passes) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Invalid pass number (6) for Graphics.Blit (Material "(Unknown material)" with 1 passes) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
This seems to be related to Ambient Occlusion, when disabled the error stops.
The error happens even when using a completely new scene and just adding the ‘Post-ProcessingProfile’ to the camera.
Oddelly, every now and then when I close down Unity and re-open it, sometimes I get no errors and can run the game with a working Ambient Occlusion effect but after stopping or re-running the game, the error starts up again and the Ambient Occlusion stops working.
I have done many searches online but can't seem to find much in this area.
Any help much appreciated.
Plugin: Post Processing Stack v1.0.4
Using: Unity 2017.2.0f3 (64bit)
Platform: PC
Kind regards,
Thor
Your answer
Follow this Question
Related Questions
Bad artifacts with Multi Scale Volumetric Obscurance 0 Answers
Ambient Occlusion with PostProcess v2 doesn't work? 0 Answers
How do I show Ambient Occlusion Post Processing effect on Android (with AR)? 0 Answers
PostProcessingStack Ambient Occlusion not working 1 Answer
Help with the new unified Post-Processing stack (specifically Color Grading) 0 Answers