(Where modelA_AssetBundle contains a 3D model, prefab, materials, and textures related only to a single model. modelB_AssetBundle contains the same but only related to a different model. SharedTextures_AssetBundle contains textures that both models and prefabs from these two asset bundles share)
Now, anything assigned to ModelA_AssetBundle and ModelB_AssetBundle is omitted from the build (as is the usual case with asset bundle). However, none of the SharedTextures_AssetBundle info is omitted. Any idea what’s happening here?
I can’t really check if those textures are referenced anywhere. I did a manual check in my scenes, didn’t find anything. I used the asset usage detector asset ( Asset Usage Detector - Find references to an asset/object [Open Source] ) to help me out. It said that they were only referenced to materials in my project folder. Those materials are a part of an asset bundle.
I didn’t check for dependencies though. I’ll check it out and get back. I don’t see why it would stop them from being omitted though.
You kinda gotta go all the way down the rabbit hole… are any of those materials referenced anywhere, even in a disabled object somewhere in a legacy prefab or some scene?