![]() You can make sure the downloaded content's CRC matches that of the bundle when you created it. ![]() ![]() This can be used to ensure data integrity during transmission of the bundle data. You may have noticed a crc parameter in the link I shared as well. manifest file for the CRC value listed there. Update the version number to something else when the content changes to force the client to download anew. Whenever a matching version is found, the file on disk is used. If no action is taken, you will remain on the month-to-month plan at the new price. Switch to an annual plan before this time to lock in your current price. The version/hash number you provide essentially gets mapped to the file name. The price for Unity Pro will be increasing on October 13, 2022, 13:00 UTC. Caching is great because you can use the bundle that is already saved on the device next time instead of downloading from the server when no changes have occurred. You can see this in some of the method overloads here, the ones that have a Hash128 or uint "version" parameter. You need to additionally provide a version number if you want to take advantage of caching. Do note that if you use the strategy shown in the example that you shared that the client will re-download the bundle from the server every time. meta files for all assets- you don't have to worry about those.
0 Comments
Leave a Reply. |