false DownloadHandlerAssetBundle.GetContent errors?!

DownloadHandlerAssetBundle.GetContent throwing errors is a real problem as evidenced by the number of posts on it.
It will error with no option to ‘catch’ the error and not exactly a full explanation of what has occurred.

I am currently getting what seem to be ‘false’ errors in the editor. I say false because it says ‘AssetBundle with the same files is already loaded’ yet I have checked each one is only loaded once and it is random - sometimes never happens or errors on a random bundle. Seems to be [edit] more often in the editor (sometimes at runtime)

I’m not caching bundles. 2018 LTS windows. Some bundles have same filename, different url

How does it know it has already loaded it - what is the check? Because this hidden in C++ land and not detailed in the error other than by url

Have you tried using this?

Editor is the trickiest scenario, since you have a single application session, yet multiple game sessions.

no but that does not really help as it is before a new bundle is got that the error occurs and certainly the url is not repeated.

I think it seems to be a conflict between simultaneous downloads of assetbundles where the method is not the same - with some coming from a data download for instance (from a server database - then turned into an AssetBundle.LoadFromMemory ) or if legacy WWW.assetbundle calls remain.
A corner case perhaps but if only the debug code could be explicit as to how the conflict has occured I would waste a lot less time and see the error (or bug) for what it is.

The only fix is to not keep any assetbundle for even a frame but to grab assets from it and then AssetBundle.Unload(false)

You may need to examine you bundle names or explicitly set caching names. Possibly your bundles get the same caching names hence the system thinks you are loading an already loaded bundle.