Variants of a given bundle must have exactly the same assets between them based on a Name

Unity's Assetbundle Brower reports an error message


Variants of a given bundle must have exactly the same assets between them based on a Name

reason

This is when using Assetbundle Brower to package, setting the same resource as two different Varients, or prefab resources with different names, using the same AssetBundle Name. In fact, the root cause is the wrong way to use AssetBundle Varient.

The correct way to pack

Two resources with the same name are placed in different folders, and then set the same AssetBundle Name and different AssetBundle Varient.

For detailed operation process, please refer to this article

Supongo que te gusta

Origin blog.csdn.net/qq_41841073/article/details/127725477
Recomendado
Clasificación