Search Unity

Possible bug in making local bundle with Addressables system

Discussion in 'Addressables' started by diego_mp, Dec 12, 2018.

  1. diego_mp

    diego_mp

    Joined:
    Jun 12, 2017
    Posts:
    23
    Hi guys,
    I think I found a problem with the Addressables. Just check your API_Demo example with v.0.4.8

    This is the repro:
    - Build the example as Mac standalone.
    - Delete the executable at the end of the test.
    - Select "Editor Hosted" profile.
    - enable the local hosting.
    - Select "Packed Mode".
    - Build.
    - Find the new executable, right click "Show package content"
    - Go to Contents/Resources/Data/StreamingAssets/com.unity.addressables/StandaloneOSX
    - find the bundle file that should look like something similar to "localdemodata_assets_all.bundle" (I packed the bundles together)
    - open the bundle, you should find 6 assets (capsule, cylinder, sphere, etc.).

    Now you can delete the executable, the remote folder, the streaming assets, everything.

    Now the interesting part, I moved all the asset from "Local Demo Data" group to "Remote Demo Data".
    Here's a picture:
    unity.png

    Let's rebuild again.
    I would expect that the localdemodata_assets_all.bundle is gone or empty.
    With my surprise, I can still find it inside the new build, same location, same size, etc.
    unity2.png

    We deleted the executable so there is no chance that's an old file.
    Doesn't matter what you do, the bundle seems to stay the same, even if you change the files in the group.

    Could please someone shed some light on the issue?

    Cheers,

    Diego
     
  2. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    Sounds like we may be caching something that we shouldn't be. Thanks for letting us know, I've opened a ticket for us to look into it.
     
    diego_mp and MNNoxMortem like this.