Hi!
How to use the Addressable Asset System to make a difference update patch for resources? Is to use the addressables_content_state.bin mentioned in the Content update workflow? If so, is this generated and can only be generated by the build player?
Both the Addressables Manual and the Addressable Asset System - Getting Started have been seen before, and DEMO has tried, but the descriptions and operations are not clear enough.
Waiting for you , guys~
Waiting
keep waiting
I AM WAITING
Hi,
Thereās an explanation in the docs about this here: Addressable Assets development | Package Manager UI website
It sounds like you might have already seen it, but let me know which parts arenāt clear enough and Iāll work on making some updates.
But yes, you use the addressables_content_state.bin. And youāre correct, this is just generated when you build the player for now.
thx
Has this actually worked for anyone? I get a NullReference when I select the bin on āPrepare for Updateā and āBuild for Updateā does not really seem to work.
Might be a bug in the current version, but I really liked to know if anyone got a flawless workflow for this.
Update: Fixed the NullReference by adding a ContentUpdateSchema, but still not sure how to properly update assets without shipping a new build. The old build always loads the old bundle and a new build canāt find the old bundles.
Did you watch the latesta Unite LA talk on Adressables?
https://www.youtube.com/watch?v=U8-yh5nC1Mg
@tswierkot I did multiple times and followed it step by step, but the update window is empty for many different changes (adding new addressables, removing addressables, changing scene content, rebaking, changing scriptable objects, changing prefabs, ā¦) and as posted the new bundles are not loaded by the old build and are only loaded when I make a full new builld while the old bundles are not loaded by a new build.
Did you - or just anyone else - actually manage to reproduce in 0.5.2 what was shown in the video (in a real project)? Especially when addressable scenes are updated.
I am using the latest version for now 0.5.3 and yes the update window is empty for many different changes and the video mentioned talk about a feature that it is broken ⦠I hope that we can get an update soon and it seems that no one is answering us when we ask about the content updateā¦
@AAK_Lebanon the reason no one answers is likely because there are not many people working at Unity over the holidays. It should slowly become better now.
No offense to anyone, but I would just like to say that having to watch a 46 minute talk, just to learn how to use Addressables is crazy. And yes, even watching it multiple times doesnāt help when things donāt work.
What we need is better documentation, working example projects, step by step tutorials to create example projects, best practices guide, troubleshooting guide for common errors/gotchas and solutions etc.
Also, maybe a more streamlined ui/ux.
And also answers to forum questions like this one.
Maybe Unity should put some more people on this sub-project to help out. Loading, bundling, updating assets I think it is a vital part of the engine.
agreed. itās on the list. weāre working on the docs, and are in-progress on a public github project that would provide simple examples of usage.
feel free to make suggestions (ideally in a thread about that thing, not just cramming more into this thread).
As to this thread, Iāve somewhat lost exactly whatās being asked. If itās a workflow question, then posting the exact steps taken, and where things seem to go off the rails would help. If itās a bug, then opening an actual Unity bug report would be the most useful (and attaching your project, and posting the bug number here).
Thanks.
-Bill
Iām also trying to make this work, but it doesnāt make much sense.
I uploaded the serverdata to my website.
I build the game, run it and a addressable cube gets instantiated.
I donāt understand how to make changes tho.
When I do āPrepare for content updateā Iām supposed to āselect the build folder of a player buildā according to the unity docs, but itās asking for a bin file.
There is no bin file in my player build folder unlike the guy in the video.
I can find a āaddressables_content_state.binā in the editor tho.
What am I supposed to do with āaddressables_content_state.binā?
Also how are you supposed to push updates on a windows build if you need to select that bin file in the build folder every time?
@lejean_1 - The bin file you mention contains information about the state of the project at build time for a player. This helps unity later when you do a āContent Updateā to warn you about potential issues with the update.
This makes sense since players in the wild are immutable and this functionality helps you identify content update issues at build time rather than run-time. e.g a monobehavior changed in the content update that is referenced by an addressable prefab, this would warn you about this because the change in monobehavior is not part of content/addressable. This could cause unexpected results when deployed players get the content update as the loaded monobehavior on the updated prefab is in fact the old script on the player (not the updated one in your content update).
Because of these potential dependency issues, Unity will generate the bin file when the player is built (most likely 1 bin for each BuildTarget) to record this information. Iām not quite sure yet how the client knows how to find the new remote catalog name (this info might be on the bin file as well for the content update step to name the catalog properly).
The prepare step is a validation on the bin file with the updated content. This will resolve package schema issues and give you time to make other changes before a content build. e.g. a static local/remote group asset update will be moved to a new groups. Perhaps this link will help understand a bit more about it: Addressable Assets development cycle | Addressables | 1.8.5
Check out the āPrepare for content updateā section.
Hopefully this helps you understand a bit more about how it works and why the bin file is relevant. Iām no expert on the subject yet but am learning anyone feel free to correct me.
iām stuck too. remote update is not showing up on build version but it shows up on editor mode(while selecting āuse existing buildā). also when i do ācheck for content update restrictionā nothing shows up there even after i modified the addressable assets.
Edit: iām using 1.13.1 version for addressables and unity 2020.1.2
I got it working by following this tutorial on gamasutra
Only Iām not sure about 1 thing.
The content that gets remote loaded in your build through addressables gets downloaded locally too right?
You donāt have too download the same assets every time you launch even if nothing changed since last time?
Edit: nvm use asset cache wasnt checked