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

Dependency Behaviour Seems to Conflict with Documentation

Discussion in 'Asset Bundles' started by SINePrime, May 20, 2019.

  1. SINePrime

    SINePrime

    Joined:
    Jan 24, 2019
    Posts:
    54
    I am confused on how asset dependencies are packed into AssetBundles.

    I have set up my AssetBundles in the same way that the AssetBundle documentation specifies https://docs.unity3d.com/Manual/AssetBundles-Dependencies.html
    • AssetBundle local_texture
      • contains a single texture, "localTexture"
    • AssetBundle local_material
      • contains a single material, "localMaterial_localTexture"
        • Aldebo for this is set to localTexture
    • AssetBundle local_image
      • contains a Prefab, "localImage"
        • Image component, with the material as "localMaterial_localTexture"
    When I don't load local_texture, the texture is missing on localImage_localTexture. However, on localMaterial_localTexture, the texture is present. The documentation states I would need to load local_texture first, but this does not seem to the be the case.

    Am I misunderstanding the documentation?
     

    Attached Files: