Enum
Enum.PromptCreateAvatarResult
Result codes returned by AvatarCreationService:PromptCreateAvatarAsync() indicating whether avatar creation succeeded or why it failed.
| Item | Value | Summary |
|---|---|---|
| Enum.PromptCreateAvatarResult.Success | 1 | The avatar was successfully created and published to the player's account. |
| Enum.PromptCreateAvatarResult.PermissionDenied | 2 | The player explicitly declined the avatar creation consent prompt. |
| Enum.PromptCreateAvatarResult.Timeout | 3 | The avatar creation consent prompt timed out before the player responded. |
| Enum.PromptCreateAvatarResult.UploadFailed | 4 | The avatar assets passed validation but the server-side upload or bundle creation step failed. |
| Enum.PromptCreateAvatarResult.NoUserInput | 5 | The player did not interact with the avatar creation consent prompt before it closed. |
| Enum.PromptCreateAvatarResult.InvalidHumanoidDescription | 6 | The HumanoidDescription supplied to AvatarCreationService:PromptCreateAvatarAsync() was invalid and could not be used to create an avatar. |
| Enum.PromptCreateAvatarResult.UGCValidationFailed | 7 | The avatar's geometry or content failed Roblox's UGC (User-Generated Content) validation checks. |
| Enum.PromptCreateAvatarResult.ModeratedName | 8 | The proposed avatar name or description was rejected by Roblox moderation. |
| Enum.PromptCreateAvatarResult.MaxOutfits | 9 | The player has reached the maximum number of outfits allowed on their Roblox account. |
| Enum.PromptCreateAvatarResult.PurchaseFailure | 10 | The avatar creation attempt failed because the player did not have sufficient Robux to cover the required purchase. |
| Enum.PromptCreateAvatarResult.UnknownFailure | 11 | An unexpected or unclassified failure occurred during avatar creation. |
| Enum.PromptCreateAvatarResult.TokenInvalid | 12 | The creation token provided to AvatarCreationService:PromptCreateAvatarAsync() was not valid or did not match the current experience. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.