Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

What is "Unknown error occurred while loading 'archive:/BuildPlayer-scenename/BuildPlayer-scenename.

Discussion in 'Asset Bundles' started by young-xyz, Jul 29, 2021.

  1. young-xyz

    young-xyz

    Joined:
    Feb 23, 2015
    Posts:
    51
    I got an error message from android package that

    "Unknown error occurred while loading 'archive:/BuildPlayer-scenename/BuildPlayer-scenename.sharedAssets'"

    I did some searching, there is about error while build package or bundle, but my case is occured while play package.

    Can anyone show me what it means?
     
  2. young-xyz

    young-xyz

    Joined:
    Feb 23, 2015
    Posts:
    51
    anyone?
     
  3. mrGates

    mrGates

    Joined:
    Mar 25, 2020
    Posts:
    5
    Same problem. You fixed this?
     
  4. AndrewSkow

    AndrewSkow

    Unity Technologies

    Joined:
    Nov 17, 2020
    Posts:
    89
    I wonder if this might be some corruption or truncation of the AssetBundle?

    The path mentioned there is for a Unity binary file inside an AssetBundle, in particular the "shared Assets" file for a particular scene file. Its normal that is loaded when a Scene is loaded from AssetBundles, but not normal that this hits an error. So I agree that it is a runtime issue not a build time issue.

    Are there any other errors in the logs prior to that error that gives more hint of what might have gone wrong?