Upgrading asset bundles

We have a lot of old asset bundles which throw warnings and errors in new Unity versions (Failed to load GpuProgram from binary shader data… D3D shader blob is empty!).

The question is: Is there an easier way to upgrade them than loading all the models up in the editor and re-exporting? (as this would take a lot of time!)

Could the editor be automated to import the asset bundles and export new ones or the data in the bundles changed etc.?

It would also be great if Unity provided a way to upgrade asset bundles when the formats change - even during the 5.x cycle there were breaking changes to the format and if you have hundreds of bundles this becomes a costly problem.

4 Likes

I am receiving this error (Failed to load GpuProgram from binary shader data in ‘Standard’), but on newly upgraded asset bundles built for iOS. They were rebuilt using Unity 2017.1 whereas the iOS app is using Unity 2017.3. It’s worth noting that in editor it works, but not on an iOS device.

1 Like

now what. im fucked up all the assets bundles dosnt work, why this? im really pissed off now need a solution fast please

I’m not an expert on this, but a casual look at all the release notes just between 2017.2, its dot releases, up to 2017.3 I see a pretty good number of changes related to shaders, shader compilation, and asset bundles. So I wouldn’t be surprised if you can’t use older asset bundles with 2017.3 builds. Hopefully someone else has more specific information.

1 Like

I finally after clean cache on the assets did works to me , all works fine , i just had some errors coz my low connection speed that i cant fix … but well thats another thing that no body seems to help me to figure out … a kind of failed to retrieve data … ( but i cache from localfile so i have to my boss uploading the files and testing like the players should do) but i cache from my local file so i avoid the bug… anyways i think that all works fine on our proyect now, and its a 55,6 gb proyect , a completly insane proyect, and we are making it! thanks to unity! :smile: