Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Wasted memory question

Discussion in 'Asset Bundles' started by HonorableDaniel, Aug 3, 2019.

  1. HonorableDaniel

    HonorableDaniel

    Joined:
    Feb 28, 2007
    Posts:
    2,963
    Does loading the same asset multiple times from the same bundle result in wasted memory?
     
  2. Ryanc_unity

    Ryanc_unity

    Unity Technologies

    Joined:
    Jul 22, 2015
    Posts:
    270
    For assets, it will see it is already loaded and not load it again. For scenes, it depends on if you used Additive loading or not.
     
  3. HonorableDaniel

    HonorableDaniel

    Joined:
    Feb 28, 2007
    Posts:
    2,963
    How about prefabs?
     
  4. Ryanc_unity

    Ryanc_unity

    Unity Technologies

    Joined:
    Jul 22, 2015
    Posts:
    270
    Prefabs don't exist at runtime, they are treated as just standard assets so those same conditions apply.
     
    HonorableDaniel likes this.
unityunity