StudioAssetService
This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
| Memory category | Instances |
|---|
Member index 18
Description
History 36
- 709 Add OnPromptSaveInstanceToRobloxAsync
- 709 Add ResolveSaveInstanceToRoblox
- 709 Add PromptSaveInstanceToRobloxAsync
- 691 Change Parameters of AutoSetupSerializedAvatarAsync from (serializedInstance: string, publishInfo: Dictionary, telemetryMetadata: Dictionary, progressCallback: Function, notificationCallback: Function?) to (serializedInstance: string, publishInfo: Dictionary, telemetryMetadata: Dictionary, progressCallback: Function, notificationCallback: Function?, options: Dictionary?)
- 691 Change Parameters of AutoSetupAvatarAsync from (modelId: ContentId, progressCallback: Function, notificationCallback: Function?) to (modelId: ContentId, progressCallback: Function, notificationCallback: Function?, options: Dictionary?)
- 685 Change Parameters of AutoSetupSerializedAvatarAsync from (serializedInstance: string, publishInfo: Dictionary, progressCallback: Function, notificationCallback: Function?) to (serializedInstance: string, publishInfo: Dictionary, telemetryMetadata: Dictionary, progressCallback: Function, notificationCallback: Function?)
- 670 Add AutoSetupSerializedAvatarAsync
- 664 Change Parameters of AutoSetupAvatarAsync from (modelId: ContentId, progressCallback: Function) to (modelId: ContentId, progressCallback: Function, notificationCallback: Function?)
- 660 Add CancelAutoSetupAvatarAsync
- 648 Change Parameters of OnSaveToRoblox from (instances: Objects, assetType: Variant, hasSubsequent: bool) to (instances: Instances, assetType: Variant, hasSubsequent: bool)
- 648 Change Parameters of ShowSaveToRoblox from (instances: Objects, assetType: Variant, hasSubsequent: bool = false) to (instances: Instances, assetType: Variant, hasSubsequent: bool = false)
- 648 Change Parameters of SerializeInstances from (instances: Objects, groupId: int64 = 0, isPackage: bool = false) to (instances: Instances, groupId: int64 = 0, isPackage: bool = false)
- 648 Change Parameters of DEPRECATED_SerializeInstances from (instances: Objects) to (instances: Instances)
- 648 Change Parameters of ConvertToPackageUpload from (uploadUrl: string, cloneInstances: Objects, originalInstances: Objects) to (uploadUrl: string, cloneInstances: Instances, originalInstances: Instances)
- 645 Change Parameters of RequestAvatarAutosetupAsync from (meshId: Content, textureId: Content, progressCallback: Function) to (meshId: ContentId, textureId: ContentId, progressCallback: Function)
- 645 Change Parameters of AutoSetupAvatarAsync from (modelId: Content, progressCallback: Function) to (modelId: ContentId, progressCallback: Function)
- 643 Add AutoSetupAvatarAsync
- 617 Add UpdatePublishedPackage
- 617 Change Parameters of SerializeInstances from (instances: Objects) to (instances: Objects, groupId: int64 = 0, isPackage: bool = false)
- 617 Add DEPRECATED_SerializeInstances
- 602 Add RequestAvatarAutosetupAsync
- 601 Add OnUGCSubmitCompleted
- 601 Change Parameters of OnSaveToRoblox from (instances: Objects, assetType: Variant) to (instances: Objects, assetType: Variant, hasSubsequent: bool)
- 601 Change Parameters of ShowSaveToRoblox from (instances: Objects, assetType: Variant) to (instances: Objects, assetType: Variant, hasSubsequent: bool = false)
- 601 Add FireOnUGCSubmitCompleted
- 583 Change Parameters of OnSaveToRoblox from (instances: Objects) to (instances: Objects, assetType: Variant)
- 583 Add ShowSaveToRoblox
- 573 Change ReturnType of PublishPackage from void to null
- 573 Change ReturnType of ConvertToPackageUpload from void to null
- 554 Add OnPublishPackageResult
- 554 Add PublishPackage
- 541 Add OnSaveToRoblox
- 540 Add OnConvertToPackageResult
- 540 Add ConvertToPackageUpload
- 500 Add SerializeInstances
- 500 Add StudioAssetService
Members 18
AutoSetupAvatarAsync
| Parameters (4) | ||
|---|---|---|
| modelId | ContentId | |
| progressCallback | Function | |
| notificationCallback | Function? | |
| options | Dictionary? | |
| Returns (1) | ||
| Instance | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 4
- 691 Change Parameters of AutoSetupAvatarAsync from (modelId: ContentId, progressCallback: Function, notificationCallback: Function?) to (modelId: ContentId, progressCallback: Function, notificationCallback: Function?, options: Dictionary?)
- 664 Change Parameters of AutoSetupAvatarAsync from (modelId: ContentId, progressCallback: Function) to (modelId: ContentId, progressCallback: Function, notificationCallback: Function?)
- 645 Change Parameters of AutoSetupAvatarAsync from (modelId: Content, progressCallback: Function) to (modelId: ContentId, progressCallback: Function)
- 643 Add AutoSetupAvatarAsync
AutoSetupSerializedAvatarAsync
| Parameters (6) | ||
|---|---|---|
| serializedInstance | string | |
| publishInfo | Dictionary | |
| telemetryMetadata | Dictionary | |
| progressCallback | Function | |
| notificationCallback | Function? | |
| options | Dictionary? | |
| Returns (1) | ||
| Instance | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 3
- 691 Change Parameters of AutoSetupSerializedAvatarAsync from (serializedInstance: string, publishInfo: Dictionary, telemetryMetadata: Dictionary, progressCallback: Function, notificationCallback: Function?) to (serializedInstance: string, publishInfo: Dictionary, telemetryMetadata: Dictionary, progressCallback: Function, notificationCallback: Function?, options: Dictionary?)
- 685 Change Parameters of AutoSetupSerializedAvatarAsync from (serializedInstance: string, publishInfo: Dictionary, progressCallback: Function, notificationCallback: Function?) to (serializedInstance: string, publishInfo: Dictionary, telemetryMetadata: Dictionary, progressCallback: Function, notificationCallback: Function?)
- 670 Add AutoSetupSerializedAvatarAsync
CancelAutoSetupAvatarAsync
| Parameters (1) | ||
|---|---|---|
| jobId | string | |
| Returns (1) | ||
| null | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
ConvertToPackageUpload
| Parameters (3) | ||
|---|---|---|
| uploadUrl | string | |
| cloneInstances | Instances | |
| originalInstances | Instances | |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 3
- 648 Change Parameters of ConvertToPackageUpload from (uploadUrl: string, cloneInstances: Objects, originalInstances: Objects) to (uploadUrl: string, cloneInstances: Instances, originalInstances: Instances)
- 573 Change ReturnType of ConvertToPackageUpload from void to null
- 540 Add ConvertToPackageUpload
DEPRECATED_SerializeInstances
| Parameters (1) | ||
|---|---|---|
| instances | Instances | |
| Returns (1) | ||
| string | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 648 Change Parameters of DEPRECATED_SerializeInstances from (instances: Objects) to (instances: Instances)
- 617 Add DEPRECATED_SerializeInstances
FireOnUGCSubmitCompleted
| Parameters (1) | ||
|---|---|---|
| cancelled | bool | |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
OnConvertToPackageResult
| Parameters (2) | |
|---|---|
| isSuccessful | bool |
| errorMessage | string |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
OnPromptSaveInstanceToRobloxAsync
| Parameters (3) | |
|---|---|
| instance | Instance |
| assetType | Variant |
| requestId | string |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
OnPublishPackageResult
| Parameters (2) | |
|---|---|
| result | Dictionary |
| errorMessage | string |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
OnSaveToRoblox
| Parameters (3) | |
|---|---|
| instances | Instances |
| assetType | Variant |
| hasSubsequent | bool |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 4
- 648 Change Parameters of OnSaveToRoblox from (instances: Objects, assetType: Variant, hasSubsequent: bool) to (instances: Instances, assetType: Variant, hasSubsequent: bool)
- 601 Change Parameters of OnSaveToRoblox from (instances: Objects, assetType: Variant) to (instances: Objects, assetType: Variant, hasSubsequent: bool)
- 583 Change Parameters of OnSaveToRoblox from (instances: Objects) to (instances: Objects, assetType: Variant)
- 541 Add OnSaveToRoblox
OnUGCSubmitCompleted
| Parameters (1) | |
|---|---|
| cancelled | bool |
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
PromptSaveInstanceToRobloxAsync
| Parameters (2) | ||
|---|---|---|
| instance | Instance | |
| assetType | Variant | |
| Returns (1) | ||
| Tuple | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
PublishPackage
| Parameters (2) | ||
|---|---|---|
| instance | Instance | |
| publishInfo | Dictionary | |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 573 Change ReturnType of PublishPackage from void to null
- 554 Add PublishPackage
RequestAvatarAutosetupAsync
| Parameters (3) | ||
|---|---|---|
| meshId | ContentId | |
| textureId | ContentId | |
| progressCallback | Function | |
| Returns (1) | ||
| Instance | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 2
- 645 Change Parameters of RequestAvatarAutosetupAsync from (meshId: Content, textureId: Content, progressCallback: Function) to (meshId: ContentId, textureId: ContentId, progressCallback: Function)
- 602 Add RequestAvatarAutosetupAsync
ResolveSaveInstanceToRoblox
| Parameters (4) | ||
|---|---|---|
| requestId | string | |
| assetId | int64? | |
| assetName | string? | |
| errorMessage | string? | |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
SerializeInstances
| Parameters (3) | Default | |
|---|---|---|
| instances | Instances | |
| groupId | int64 | 0 |
| isPackage | bool | false |
| Returns (1) | ||
| string | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 3
- 648 Change Parameters of SerializeInstances from (instances: Objects, groupId: int64 = 0, isPackage: bool = false) to (instances: Instances, groupId: int64 = 0, isPackage: bool = false)
- 617 Change Parameters of SerializeInstances from (instances: Objects) to (instances: Objects, groupId: int64 = 0, isPackage: bool = false)
- 500 Add SerializeInstances
ShowSaveToRoblox
| Parameters (3) | Default | |
|---|---|---|
| instances | Instances | |
| assetType | Variant | |
| hasSubsequent | bool | false |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 3
- 648 Change Parameters of ShowSaveToRoblox from (instances: Objects, assetType: Variant, hasSubsequent: bool = false) to (instances: Instances, assetType: Variant, hasSubsequent: bool = false)
- 601 Change Parameters of ShowSaveToRoblox from (instances: Objects, assetType: Variant) to (instances: Objects, assetType: Variant, hasSubsequent: bool = false)
- 583 Add ShowSaveToRoblox
UpdatePublishedPackage
| Parameters (4) | Default | |
|---|---|---|
| assetmetadata | Dictionary | |
| rootInstance | Instance | |
| isConvert | bool | false |
| addUndoWaypoint | bool | false |
| Returns (1) | ||
| null | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |