Addressables throwing exception during build

When I build my addressable bundles (using the default script), an exception is thrown in the debugger on the following line in buildcache.cs:

                var cacheFolder = new CacheFolder { directory = subDirectory, Length = files.Sum(x => x.Length) };

The filename it crashes on is:

‘C:\Github\UMA\UMAProject**\Library\BuildCache\ac\acf0704611ca8805636fc71baac0418b\ed5877214cc36641cbb9a828d9e9f482\5747bd916ac8f43f6a38baf49cd5fc4e_assets_assets**\uma\content\uma_core\humanmale\slots\body\uma_human_male_eyes_slot.asset**.bundle_718a9e01fdd840b04958c29251da7ef0**’

As you can see, only about 1/3 of that line is something I can control the size of. All the rest appears to be something randomly generated.

  1. Is this an issue? It’s never reported back up, the exception is silently consumed. Does this cause an error that will cause issues at some point?
  2. Why not simplify the names of the randomly generated folders that are three folders deep? Is there a way to do this in the settings?

Hey @Jaimi , what version are you running?

That was 1.5.0, but I’ve since upgraded to 1.5.1, and it still happens.

Thank you, I’ll send this post over for you @Jaimi !

1 Like