Coder Social home page Coder Social logo

Comments (6)

kirstenpilla avatar kirstenpilla commented on July 24, 2024

Hi @Adam-Weesner I think I've mentioned this fix on the forums, but here it is! #55
For any future bugs, please report them through the regular bug submission process https://unity3d.com/unity/qa/bug-reporting

from addressables-sample.

Stephan-FDG avatar Stephan-FDG commented on July 24, 2024

Hi,
unfortunately I am running into the same problem
What forum post are you referring to? because I was unable to find the forum post
Thanks for any help

from addressables-sample.

kirstenpilla avatar kirstenpilla commented on July 24, 2024

Hi @Stephan-FDG this is the post https://forum.unity.com/threads/using-addressables-along-with-google-play-asset-delivery.905831/page-2#post-7429220. It still refers to the same PR/fix that was merged in (#55) though.

Are you still experiencing the issue with the fix pulled down? If so, are the reproduction steps the same?

from addressables-sample.

Stephan-FDG avatar Stephan-FDG commented on July 24, 2024

Hi @kirstenpilla
thank you for your fast response!

I can reproduce the Error with the following Steps:

  • Checkout https://github.com/Unity-Technologies/Addressables-Sample on master branch
  • Open Sub-Project "Play Asset Delivery" with Unity 2021.2.11f with Android Build Target
  • Set Build Settings to "Build App Bundle (Google Play) and ensure "Split Application Binary" is true
  • Create Temporary KeyStore file
  • Build Addressables with "Play Asset Delivery" BuildScript
  • Build Unity Project

The Following Error is show:

Building Library/Bee/artifacts/Android/AssetPacks/assets_info.json failed with output:
System.IO.FileNotFoundException: Could not find file '/Users/USER/Documents/GITHub/pad/Advanced/Play Asset Delivery/Library/com.unity.addressables/aa/Android/Android/fastfollowcontent_assets_all_837617499298fc018d18194687b60895.bundle'.
File name: '/Users/jack/Documents/003.FDG/001.Projects/GITHub/pad/Advanced/Play Asset Delivery/Library/com.unity.addressables/aa/Android/Android/fastfollowcontent_assets_all_837617499298fc018d18194687b60895.bundle'
   at System.IO.FileInfo.get_Length()
   at NiceIO.NPath.SystemIOFileSystem.File_GetSize(NPath path)
   at NiceIO.NPath.GetFileSize()
   at Unity.Android.Gradle.AssetPacksDistribution.RegisterAsset(NPath srcPath, AssetType assetType)
   at AndroidPlayerBuildProgram.Actions.ActionAssetPackDistribution.Run(CSharpActionContext context, Arguments arguments)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

I also cloned the project from the PR and there I cannot build android at all with Unity 2021.2.11f1
Addressables Version is 1.19.17

from addressables-sample.

kirstenpilla avatar kirstenpilla commented on July 24, 2024

Thanks @Stephan-FDG this issue is slightly different from what was originally reported in the thread. The original gets the error logged when building Addressables with the "Play Asset Delivery" BuildScript, whereas yours occurs when building the player.

One thing I see is that your project path length is a bit long. Could you try moving the project closer to the root directory?

from addressables-sample.

kirstenpilla avatar kirstenpilla commented on July 24, 2024

Nevermind I was able to reproduce the issue, and created a bug ticket for it. Another forum thread was reporting the same issue https://forum.unity.com/threads/building-custom-asset-packs-for-pad-causes-build-to-fail.1246468/.

from addressables-sample.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.