Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

[2021.2] Settings have no affect before first recompilation #12

Description

@neon-age

Found by @Thane5 in 2021.2b

After Editor launch, most settings changes are getting ignored (but UI events and serialization work properly).
Triggering recompilation via any script reimport fixes it.

The cause
prefs instance gets replaced after static initialization, so all classes are referencing the wrong non changing version
image
(should be property, => instead of =)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions