Skip to content

Uncaught TypeError: Cannot set properties of undefined (setting 'bias') #5747

@hazho

Description

@hazho

When changing the light type from directional to ambient, sometimes the following error raised, we better safely set the properties of light:
Uncaught TypeError: Cannot set properties of undefined (setting 'bias')
The responsible module: \src\components\light.js

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