Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with new 1.0.2 version, when using Google>Create config for Addressables Groups #63

Closed
a-l-e-x-d-s-9 opened this issue Oct 5, 2022 · 6 comments

Comments

@a-l-e-x-d-s-9
Copy link

I have been using assetdelivery.addressables 1.0.0, Unity Addressables 1.18.9, Unity 2020.3.39f1, google play-unity-plugins 1.7.
Today I've upgrade to assetdelivery.addressables 1.0.2 version, Unity Addressables 1.19.19, Unity 2021.3.11f1.
Then I did:

  1. Addressables Groups>Clean Build>All
  2. Addressables Groups>New Build>Default Build Script
  3. Google > Create config for Addressables Groups
    Got an error: Unable to create AssetPack config. Make sure Addressables asset bundles have been build!
    In the log message: "[AssetPackBuilder.CreateAssetPacks] path="
    Do I need to configure this folder somewhere?
@a-l-e-x-d-s-9
Copy link
Author

In the AssetPackBuilderMenu.cs, changed to:
var assetPackConfig = AssetPackBuilder.CreateAssetPacks(TextureCompressionFormat.Default, Addressables.BuildPath );
Now "Create config for Addressables Groups" is working. Is it a proper solution, should I do something else?

@jelte
Copy link
Owner

jelte commented Oct 5, 2022

Normally it should fall back to the Local.BuildPath in your active addressables profile. Could it be that variable isn't defined?

(I'll add an additional fallback just in case)

jelte pushed a commit that referenced this issue Oct 5, 2022
@a-l-e-x-d-s-9
Copy link
Author

That's what defined in my AddressableAssetSettings:
image

And for asset group:
image

Is it ok or should it be something else?

@jelte
Copy link
Owner

jelte commented Oct 5, 2022

Yeah, I think unity renamed LocalBuildPath to Local.BuildPath, so if you are having an older config it would find it's default local build path anymore :(

@jelte
Copy link
Owner

jelte commented Oct 5, 2022

if you get 1.0.3 it should fallback to the Addressable.BuildPath, if Local.BuildPath param isn't found.

@a-l-e-x-d-s-9
Copy link
Author

Ok, looks that it solved it.
Thanks!

kreys pushed a commit to kreys/be.khepri.play.assetdelivery.addressables that referenced this issue Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants