Skip to content

CustomAudio Uninitialized config parameter leads to immediate/permanent NullReferenceException #127

@Raincode

Description

@Raincode

The parameter overwriteVol is used but not properly initialized in the Awake() function causing what is essentially a crash of the game upon loading into a world.

Suggested fix:
Add appropriate initialization line to Awake() function, e.g.:
overwriteVol = Config.Bind<bool>("General", "OverwriteVol", false, "Overwrite audio volume");

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