GithubHelp home page GithubHelp logo

Comments (2)

ideaspad avatar ideaspad commented on May 20, 2024

复制两个同样的.unity文件 为什么生成文件有问题

from absystem.

clime57 avatar clime57 commented on May 20, 2024

经过5.6.1和2017.1的测试,发现问题的规律:unity3d的多个场景共用的预制件上直接依赖的所有的资源如果没有独立打包,将会被打到各自场景里。

比如SceneA和SceneB共用预制件PrefabA,PrefabA依赖MatA,FbxA.
如果按照之前的规则 打包,总共会生成三个AB,SceneA、SceneB和PrefabA。生成的场景包里皆会含有PrefabA,MatA(包含shader和图片),FbxA,PrefabA的AB里也会包含MatA(包含shader和图片),FbxA.

如果将MatA和FbxA单独打包,最终生成的AB包加上之前的3个共5个的情况下,则场景里不会包含MatA和FbxA的资源,PrefabA也不会包含MatA和FbxA的资源。

from absystem.

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.