Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

2

Found in

5.0.0b16

Issue ID

653729

Regression

No

[Fog] Make runtime fog changes in editor not use new shader variants if standalone would not use them

Shaders

-

When Fog is changed from a script only, then in player builds it does not appear. To reproduce this issue:

1. Open 'FogRenderSettingsBug' project
2. Open 'scene'
3. It has a script which enables fog on Start()
4. Play in the editor
5. Notice red fog in the scene
6. Now build on standalone
7. Fog is not rendered

Regression since 4.5

Comments (2)

  1. si-ohn

    Sep 16, 2015 08:28

    1. Fog set in a disable state in the Window / Lighting.
    2. Fog was enabled in the script.
    3-1. Fog is rendered in the Editor.
    3-2. Fog is not rendered in iOS and Android.

    11. Fog set in a enable state in the Window / Lighting.
    12. Fog was enabled in the script.
    14. Fog is rendered in iOS and Android and Editor.
    15. Fog was disabled in the script.
    16. Fog is not rendered in iOS and Android and Editor.

    Regression since 5.1.1f1

  2. si-ohn

    Sep 16, 2015 08:05

    When you first set in the Window / Lighting Although the fog is set to enable state possible.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.