Skip to content

Reloading extensions wipes CVars #1574

@Adrianilloo

Description

@Adrianilloo

When executing sm exts reload <ext id> the given extension seems to reload successfully, except its custom ConVars (created by it) remain unregistered (since unloading), causing the usual "Unknown command <CVar>" errors in console. Manually executing sm exts unload <ext id> followed sm exts load <ext name> doesn't cause this issue, and CVars get correctly re-registered.

I thought my custom extension wasn't properly coded, until I decided to check with another sample extension and the same issue happened on it (matching sample CVar: mp_noblock).

If you need more details, let me know.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buggeneral bugs; can be anything

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions