Skip to content

Shipped files and yours

Everything in your workspaceworkspace: Your mod in Studio: every file you added or changed, kept apart from the game's own files until you install or export it. is one of two things:

Wherever the game would load a shipped file you’ve overridden, it loads yours instead. Everything else loads as it shipped:

  • the game's, underneath
    your copyball_standard.material_instance

    Game loads: your copy

  • the game's, underneath
    your copyhideout_master.level

    Game loads: your copy

  • the game'sjump_pad.level

    Game loads: the game's

  • yours, newmy_scoreboard.vscript

    Game loads: your new file

Two overrides, one untouched shipped file, and one addition.

You don’t have to copy a file before changing it. Pick any shipped asset in Studio and change a value in the Inspector: the first change makes your copy, and the Inspector’s label turns to edited · shipped to say so. Undo every change and the copy goes away again, because a copy identical to the original changes nothing.

Studio also points every package list at your copy, so the game loads it wherever it used to load the original.

In a level, Studio compares every entity with the level as it shipped, and marks what differs:

Mark Means
Added Nothing like it ships. Everything under it is new too.
Modified It ships, and something about it differs: a value, a component, its parent, its layer, a patch on a prefab it places.
Removed It ships, and your level no longer has it. Listed where it used to be.
Contains changes Something under it is changed, so a folded tree still shows where to look.

Studio compares values, so setting a field back to what it shipped with makes it unchanged again, with no mark to clear.

The Inspector shows the same answer field by field: each changed field has a dot, and resetting it puts the shipped value back.

To undo Use
Your last few steps Edit▸Undo CtrlZ
One field Its reset in the Inspector
One entity, everything about it Revert to shipped at the top of the Inspector
An entity you deleted Restore on its row in the Outliner
A whole file Assets▸Revert to Shipped
A file you added Assets▸Delete from Workspace…

Reverting a file takes your copy out of the mod, so the game loads its own again. Deleting only works on additions: a shipped path can be reverted but never deleted, since the game would still have its own file there.

For programmers

The comparison is a structural diff against the shipped file, with the type’s declared defaults filled in on both sides. Files store only non-default values, so an override stays small and a field reset to its default drops out of the file.

Entities and components: what the files describe.