#Restore bundles
1 messages · Page 1 of 1 (latest)
I mean I want all my *.bundle files from the initial addressable build for content updates testing. OFC I don't use version control to track 100mb files of content
The problem is that local bundle files are not stored anywhere unlike remote bundles, and once I lose them, I can't use Existing Build play mode in editor. The only way as I know is to build addressables again but it changes addressables_content_state.bin and I can't test content update properly
What do you have from your initial addressable build? Didn't it produce .bundle files? What are trying to extract bundles out from exactly?
- Addressable build. I am getting local bundle files (in Library) and remote bundle files (Where I setup them) and fresh addressables_content_state.bin
- From now I can build an apk
- I upload remote bundles on server
- From now I can use real bundle files from editor in playmode (Use Existing Build option)
... - I switch to another brunch, build different builds and test them, Clear local build cache multiple times
... - It is time for content update for the 1st build. So I switch my branch back where the last addressables_content_state.bin committed and use a Build > Update a Previous Build Option
- I get nice bundles with update if I upload on server, but I cant use editor in Use Existing Build mode, because old local bundles from the build are missing
So I want a way to recreate them without new addressable build to test content update in editor for example
I'm sorry I don't really follow but I also don't use addressables this way. You want to restore the local bundles but without ever tracking them in source control? So you want to rebuild them somehow? Or the problem is you want to stop them getting deleted in the first place?
I want them to be rebuilded. The perfect would be if "Update a Previous Build" will create not only new or changed bundle groups but missings in a folders too
Actually you just worked as rubber duck 😄
I came to the idea that I could switch to the commit where the initial apk was created, build new bundles (even with a changing content state file), discard this file and switch back to the last commit. This is not very convenient but looks like it works
thanks )))
glad you worked it out! Sorry I wasn't actually of any help 😄