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

Scene to Addressable duplicate dependencies

Discussion in 'Addressables' started by redeev, Oct 30, 2019.

  1. redeev

    redeev

    Joined:
    Mar 15, 2015
    Posts:
    17
    Hi,

    I made all the prefabs I needed in my game "addressable" to reduce loading times. The problem is that when I analyze it turns out that all my prefabs are also in the initial scene, but I can't find any dependences in that scene.
    What can i do? Thanks

    addressable.png
     
    Last edited: Oct 30, 2019
  2. davidla_unity

    davidla_unity

    Unity Technologies

    Joined:
    Nov 17, 2016
    Posts:
    762
    Hey @andrex904 assuming the Analyze tool is reporting the correct information there's not really a good solution I can offer to help. You could always make your initial scene Addressable and load it using some kind of basic bootstrap scene.

    That said, it's possible Analyze isn't working correctly. I have just recently fixed a bug with this rule but the issue was that implicit dependencies for Addressable bundles weren't getting detected along with the scene dependencies. I'd have to examine your Addressables setup and your Menu scene to know for sure though.
     
    redeev likes this.