The name `StaticOcclusionCullingMode' does not exist in the current context

Hi friends,

I am writing an editor plugin. Its actually an update. Can you please solve this for me? If you have any alternatives please let me know.

In Unity’s documentation this enum is there. But it is not available in the editor code. I’ve placed the source file in Editor folder and used

using UnityEditor;

But the error still comes.

That enum does not exist anymore. It has been deprecated and removed. The only place referencing that enum is in the documentation for StaticOcclusionCulling.Compute function, the documentation has not been updated properly as that function no longer takes any parameters at all.