GithubHelp home page GithubHelp logo

在UnloadUnusedAssets的时候,未考虑bundle间的依赖,导致被依赖的bundle unload之后,重新load回来,bundle中资源依赖关系丢失,导致显示问题 about yooasset HOT 5 CLOSED

tuyoogame avatar tuyoogame commented on August 19, 2024
在UnloadUnusedAssets的时候,未考虑bundle间的依赖,导致被依赖的bundle unload之后,重新load回来,bundle中资源依赖关系丢失,导致显示问题

from yooasset.

Comments (5)

gmhevinci avatar gmhevinci commented on August 19, 2024

这个问题已经在1.4.7版本修复。您可以验证一下。

from yooasset.

JianWangUStar avatar JianWangUStar commented on August 19, 2024

okok

from yooasset.

xukunn1226 avatar xukunn1226 commented on August 19, 2024

看了作者生成referenceIDs的思路,利用的还是SBP计算得到的dependencies,这样得出的列表会有冗余,如果我遍历清单中的AssetList,然后逐个查找被哪些Asset依赖了,这样得出的依赖列表是否更合理呢?

from yooasset.

gmhevinci avatar gmhevinci commented on August 19, 2024

@xukunn1226 之前想过这个办法,但是考虑到复杂度和计算量就放弃了。SBP提供的依赖列表在运行时不会有太大影响。

from yooasset.

gmhevinci avatar gmhevinci commented on August 19, 2024

后面我还会研究下,在构建build map的时候,把引用关系创建出来。

from yooasset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.