juniordiscart / com.unity.addressables

Addressables extended with the ability to build multiple catalogs, ideal for traditional DLC purposes.
https://docs.unity3d.com/Packages/com.unity.addressables@1.17/manual/index.html
Other
76 stars 23 forks source link

multi catalog build failure #13

Open nekolyst opened 3 months ago

nekolyst commented 3 months ago

Hi, I got errors when I try to build using multi catalog:

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
UnityEditor.GenericMenu:CatchMenu (object,string[],int)

From Debug.LogError(errMessage); in the BuildScriptBase.cs on line: 102

Same error as above From Debug.LogError(result.Error); in the AddressableAssetSettings.cs on line: 2837

unity version: 2022.3.26

juniordiscart commented 3 months ago

Do you perhaps have any empty Addressable Assets groups included in your build?

nekolyst commented 3 months ago

Yes I have an empty default group. Snipaste_2024-06-26_10-31-10

The build seems fine after set a object to default group. Snipaste_2024-06-26_10-36-10

Thank you!