Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Remote asset on local scene

Discussion in 'Addressables' started by AviadMatific, Dec 18, 2022.

  1. AviadMatific

    AviadMatific

    Joined:
    Nov 1, 2021
    Posts:
    2
    Hi,

    We're trying to understand all the idea of dependencies with addressables, and something doesn't seems right.
    As far as I understand, if an addressable asset is depends on another addressable asset, even from another group, it shouldn't create a duplicate of it. I've created a sample project, and it worked: there was a prefab and an image, both addressables - the image in a remote group and the prefab in a local one. when building the project, the image was not part of the build.
    BUT, when I tried the same with a scene instead of prefab, it didn't work. Also when in the scene there was only the prefab (not the image directly) - the image was still part of the build.

    am I missing something?

    here's the demo project
     
  2. AviadMatific

    AviadMatific

    Joined:
    Nov 1, 2021
    Posts:
    2
    Seems like there was an old deleted component in the scene with a link to the image... for some reason the link wasn't deleted when removing the GO.
    Now it seems fine.