Troubleshooting

intermediate troubleshooting

Dynamic Fog & Mist 2 (Built-in) · Troubleshooting & FAQ

Troubleshooting

This page covers the most common issues users encounter with Dynamic Fog & Mist 2 for the Built-in Render Pipeline and how to resolve them.

Fog not visible

SymptomYou added the DynamicFog component but see no fog in the Game view.
CauseThe component is not on the camera, or the alpha is set to 0, or a conflicting post-processing effect is overriding the output.
Solution
  1. Confirm DynamicFog or DynamicFogExclusive is attached to the active camera (not a child object).
  2. Check that Alpha is above 0 in the inspector.
  3. Try selecting a preset like HeavyFog to see obvious results.
  4. If using Post-Processing extensions, ensure the PPSv2 Volume is active and the camera script is not also attached (do not mix methods).

Fog renders in front of particles

SymptomParticle systems appear behind the fog layer.
CauseThe image effect renders after opaque geometry but before transparent objects by default.
SolutionEdit DynamicFog.cs and add the [ImageEffectOpaque] attribute before the OnRenderImage method. This forces the fog to render before transparent objects (including particles).

Fog color does not change at night

SymptomFog remains the same color regardless of time of day.
CauseNo sun reference assigned.
SolutionAssign your directional light (or the Sun GameObject from a time-of-day plugin) to the Sun property in the DynamicFog inspector. The fog will lerp between the fog color and black based on the light's Y-axis rotation angle.

Fog renders incorrectly on WebGL

SymptomVisual artifacts, missing fog, or incorrect depth when exported to WebGL.
CauseQuality settings too low for WebGL's depth buffer precision.
SolutionGo to Project Settings > Quality and set the active quality level to Medium or higher.

VR: fog appears different in each eye

SymptomIn VR, the left and right eye show different fog or the fog is misaligned.
CauseSingle Pass Stereo checkbox in the DynamicFog inspector does not match Player Settings.
SolutionOpen the DynamicFog inspector on your camera and verify the Single Pass Stereo checkbox matches your Player Settings > XR Settings stereo rendering mode.

Using multiple integration methods

SymptomFog appears doubled, flickering, or behaves unexpectedly.
CauseMore than one integration method is active (e.g., camera script + PPSv2 + fog materials).
SolutionUse only one method: camera script, Post-Processing extensions, or custom fog materials. Remove the others.

Still stuck?

Visit the Kronnect Support and post your question. Include your Unity version, render pipeline, and a screenshot of your DynamicFog inspector settings.

Was this page helpful?