[SOLVED] Ambient Occlusion Post Process displaying incorrectly with Forward Rendering

SOLUTION: Known issue with earlier engine versions. Upgrade to Unity 5.6.


Hello, I am experiencing a problem with the Ambient Occlusion within the Post Processing Stack.

I have attached a couple of screenshots to illustrate the issue.

Ambient Occlusion with a Forward Camera appears correctly in the Scene Viewport:

However, in the Game view, only the Ambient Occlusion pass is showing:

  • The Ambient Occlusion debugging mode is not active.
  • Ambient Occlusion displays correctly in the Game view when the Camera is set to the Deferred rendering path.
  • The issue persists even when the Ambient Occlusion Intensity is set to a crazy small value, such as 0.0001.
  • The issue seems to persist regardless of my Post Processing Stack settings.

Here’s a couple screenshots of the Quality and Graphics settings in the project, in case these are relevant.

Graphic Settings: Imgur: The magic of the Internet
Quality Settings: Imgur: The magic of the Internet

Any help/advice on the matter would be greatly appreciated.

Cheers!

Perhaps disable force forward for deferred.

1 Like

Hiya hippocoder, thanks for the reply.

Sadly disabling the “Force Forward Compatibility” option doesn’t fix the issue.

Even when I reset the Ambient Occlusion settings to their default values it still appears incorrectly when I’m using a Forward Camera.

Do you have any other cameras rendering or any such things? I would recommend filing a bug report with example scene, this will get looked into and fixed. I assume you are using the very latest post process version too? What Unity version (this always matters) and so on… not enough information to troubleshoot really :confused:

1 Like
  • Unity 5.5.2
  • Latest version of the Post Processing Stack effects.
  • Only one Camera in the scene (Main Camera).

I created a completely fresh project with no Packages except for the PostProcessing package. Dropped a couple cubes in the scene. Added the Post Processing Stack to my camera, and I get the same result.

Looks correct in Scene view:

Looks wrong in Game View:

I’ve made the Test scene above available via Dropbox.

https://www.dropbox.com/s/lukt08sflsvepce/OcclusionTest.rar?dl=0

You have Forward + MSAA enabled. It’s a known issue with 5.5 and it’s fixed in 5.6.

1 Like

Ah, that’s great – I’ve updated the project to 5.6 and it’s working as expected.

Cheers all!

I disabled anti aliasing in the quality, in the project settings and that fixed it for me

1 Like