This is a new scene in a brand new project with very little modification to the default settings. Only the AO effect is enabled in the PostProcessing profile. I’ve tried every combination of settings and the flickering persists. Here is the strange thing, changing the Sample Count to any other setting will stop the flickering completely, but only for a matter of time. The next time I open the project I’ll get flickering. The flickering is there in builds as well, not just the editor.
Other things I’ve tried:
-Updating my drivers
-Different shaders/materials/models
Not helping much sorry but, just so you know you are not alone:
We have the same problem, and it only happens on some machines. Our usual work machine are fine, it mostly happens on lower specs (470GTX for instance)
We are investigating solutions, I’ll make sure to post here if we find one : )
Temporary work around for us is to remove the variable settings from the profile and to hardcode it in the shader.
In AmbientOcclusion.cginc, line 56 just comment out the variable version and the #ifdef to only leave the static const version, and set it to whatever you’d like.
// Sample count
//#if !defined(SHADER_API_GLES)
//int _SampleCount;
//#else
// GLES2: In many cases, dynamic looping is not supported.
// - Hacky fix for a problem on low spec machines with flickery AO
static const int _SampleCount = 3;
//#endif