Exporting 2 Animations Breaks the Asset Upload UI

It is triggered by publishing an animation twice prompted by this code:

local function publishKFS(keyFrameSequence: KeyframeSequence)
	Selection:Set({ keyFrameSequence })
	local plugin = plugin or getfenv().PluginManager():CreatePlugin()
	plugin:SaveSelectedToRoblox()
end

A private message is associated with this bug report

Also forgot to mention - this issue is reproduceable on both the traditional Roblox studio UI, and the new UI beta - likely because it’s an error with the asset upload UI which is unchanged in the beta. Let me know if there’s anything else I can provide. Thank you!