Cancelling an Asset Pack Download
In the event you have started a download and would like to stop it from continuing, you can actively cancel the Asset Pack Installation. You can only cancel actively downloaded asset packs and this is a best effort operation and does not guarentee its cancellation.
Once an asset pack is cancelled, you can resume its installation by reinstalling the asset pack.
Blueprint Description
Lets take a high level look at the blueprint itself and its parameters and then provide a slightly more detailed look into its setup.
Cancel Asset Pack Installation
This blueprint node attempts to cancel an Asset Pack which is currently being downloaded.
Chunk Id
The specific Chunk Identifier associated with the Asset Pack.
Return Value
Returns the Asset Pack State struct with details about the Asset Pack after it has attempted to cancel it.
Example
Here is a real example where we attempt to cancel an ongoing Asset Pack download.
Here is an example where we attempt to cancel the installation of Chunk 3 (which correlates to our second on-demand Asset Pack).
After we attempt to cancel the Asset Pack installation we check the Asset Pack State's status to see if its in a CANCELLED status.
If the status is indeed in a CANCELLED status, we can safely consider it cancelled and would need to reinstall it if we wanted to use its Assets.