Skip to content

Class · inherits Instance

AssetPatchSettings

Official docs ↗

Configures a single patch asset built by IncrementalPatchBuilder and served through AssetDeliveryProxy.

About AssetPatchSettings

Defines the settings for an asset produced by IncrementalPatchBuilder and served through AssetDeliveryProxy during local debugging and hot-reload. An AssetPatchSettings instance can only be parented to an IncrementalPatchBuilder, and its Name represents the patch ID. Each child provides the content ID and cache location that the builder uses when it registers a completed patch.

Properties 3

  • ContentId: stringThe content ID used to override this patch asset when it is served by AssetDeliveryProxy.

    The content ID used to override this asset when it is served by AssetDeliveryProxy, for example rbxasset://models/DataModelPatch/DataModelPatch.rbxm. When IncrementalPatchBuilder finishes a build, it registers the serialized patch under this content ID so that requests for that asset return the patched content. Defaults to an empty string.

  • OutputPath: stringThe filesystem path where the built patch asset is cached; when empty, an in-memory cache is used instead.

    The output path for the local cache of the patch asset, for example /path/to/content/models/DataModelPatch/DataModelPatch.rbxm. When set, IncrementalPatchBuilder writes each completed patch to this path, creating any missing parent directories. Defaults to an empty string; when empty, no file is written and an in-memory cache is used instead.

  • PatchId: stringAn identifier for distinguishing patches under a single IncrementalPatchBuilder. Has no effect.

    An identifier for distinguishing patches under a single IncrementalPatchBuilder. Has no effect. Defaults to an empty string.

AssetPatchSettings also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.