nesrak1 / UABEA

c# uabe for newer versions of unity
MIT License
1.16k stars 149 forks source link

The AssetBundle could not be loaded because it references scripts that are not compatible with the currently loaded ones. Rebuild the AssetBundle to fix this error. #260

Closed bean-sprout1 closed 1 year ago

bean-sprout1 commented 1 year ago

When I try to load asset bundles from other games in the Unity editor, I encounter this error. I would like to know if this tool currently supports removing script-related information to resolve this problem. assetBundle: c0056.asset nikki.prefab

nesrak1 commented 1 year ago

It's a lot more complicated than you think to use different games' bundles together. While it's not supported right now, a bundle merging plugin is something I plan on in the future.

(The script stuff is not the only issue with what you're trying to do which is why I didn't mention it)

bean-sprout1 commented 1 year ago

Later, I bypassed this error by manually modifying the hash. I look forward to further improvements in the tool as manual changes are cumbersome.

nesrak1 commented 1 year ago

Renamed the MonoScript hash or the internal CAB name hash? Generally changing the MonoScript hash is a bad idea because you won't have the right fields that Unity expects for your game.