Skip to content

Realtime lights stop illuminating on scene load, Unity 5.4.2f2 #18

@Overswarm

Description

@Overswarm

shadowbug1

In Unity 5.4.2f2, the valve shader isn't illuminated by realtime lights, but only after scene load and only if there are shadows involved.

The screenshots attached show a scene on first run, then the same image on loading a new scene, then the same image on the new scene after turning off shadows on the torch.

I've been able to get lights to work by:
-switching shaders
-switching the 'receive shadows" to 'off' on the valve shader material
-turning off the shadows on the torch

I've been unable to find anything else causing the issue. Even loading a duplicate of the same scene is broken on scene load!

Loading has been done via SceneManager.LoadScene and SceneManager.LoadSceneAsync, both single and additive. Same issue in all loads.

Does anyone know a fix for this? Shadows are pretty important for my game.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions