I need to find a way to do this ASAP. I had no idea InsertService cached and I need the updated version of my model. I need its AssetVersionID though? InsertService | Documentation - Roblox Creator Hub
How do I get that?
I need to find a way to do this ASAP. I had no idea InsertService cached and I need the updated version of my model. I need its AssetVersionID though? InsertService | Documentation - Roblox Creator Hub
How do I get that?
By using InsertService you can use GetLatestAssetVersionAsync which doesn’t cache and returns an int64 of the latest version
Do you have a way of getting the first asset version id?
To obtain the oldest asset version ID, head to:
Create - My Creations - Models - {model} - Configure (setting) - Versions
You can implement the version into your game by a script with InsertService:LoadAssetVersion(assetversionId).
So I have to like manually switch the asset to the oldest version? Can I not make some scripts fetch the oldest version without me having to revert to an older version.
I don’t think you can fetch all the version IDs with a script without HTTP - however, if you’d want to retrieve the version quicker, you could use:
https://assetdelivery.roblox.com/v1/assetId/{model id}/version/1
then add .rbxm
to your file name.
Otherwise, you could look into AssetDelivery API, and get a proxy (such as rprxy) to retrieve the information for your game.
Edit
: honestly, it’s best to do it manually. You could still search throughout APIs and documentation to see if you could implement them.