Hello,
Every time we switch platforms our builds take over 2 hours
I’ve attached the AddressablesBuildTEP.json (I had to rename the extension to .txt and it wouldn’t let me upload it)
We are using Unity 2020.3.5f1
Thanks
8230065–1075344–AddressablesBuildTEP.txt (3.06 MB)
Hi there - it can be a bit hard to interpret or diagnose the issue from just the build logging file on its own - below are a few questions I have that can help us get a better idea of what your issue might be:
- What version of addressables are you using?
- Do your builds take similarly long on different versions of the editor/different versions of addressables?
- For larger projects, its possible that a build could take 2 hours perfectly legitimately - have build times always been about this long, or is this a sudden/new behavior?
Based on these questions we should be able to get a better idea of what kind of issue you’re having. Sorry for the delay in replying, and thanks!
Switching platforms can invalidate a lot of cached files in the Library folder, which is then causing the build time to skyrocket.
In the following post/thread I describe the approach that helped me to keep the build times relatively sane:
https://discussions.unity.com/t/832328/9