Troubleshooting
intermediate troubleshootingDynamic 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
| Symptom | You added the DynamicFog component but see no fog in the Game view. |
|---|---|
| Cause | The component is not on the camera, or the alpha is set to 0, or a conflicting post-processing effect is overriding the output. |
| Solution |
|
Fog renders in front of particles
| Symptom | Particle systems appear behind the fog layer. |
|---|---|
| Cause | The image effect renders after opaque geometry but before transparent objects by default. |
| Solution | Edit 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
| Symptom | Fog remains the same color regardless of time of day. |
|---|---|
| Cause | No sun reference assigned. |
| Solution | Assign 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
| Symptom | Visual artifacts, missing fog, or incorrect depth when exported to WebGL. |
|---|---|
| Cause | Quality settings too low for WebGL's depth buffer precision. |
| Solution | Go to Project Settings > Quality and set the active quality level to Medium or higher. |
VR: fog appears different in each eye
| Symptom | In VR, the left and right eye show different fog or the fog is misaligned. |
|---|---|
| Cause | Single Pass Stereo checkbox in the DynamicFog inspector does not match Player Settings. |
| Solution | Open 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
| Symptom | Fog appears doubled, flickering, or behaves unexpectedly. |
|---|---|
| Cause | More than one integration method is active (e.g., camera script + PPSv2 + fog materials). |
| Solution | Use 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?
Suggest an improvement
Help us improve this documentation page.