Coder Social home page Coder Social logo

Comments (5)

alffanclub avatar alffanclub commented on August 16, 2024

@jbonastre Just so I understand fully, do the bundles build correctly? I can't tell from reading your description if the recursive loop is a bundle-browser-only issue, or if the final resulting bundles are somehow built wrong (or not built at all).
Thanks for submitting this.

from assetbundles-browser.

jbonastre avatar jbonastre commented on August 16, 2024

The asset bundles are built correctly, however there appears a recursive dependency. I don't know if it should be assigned to the Lighting team (I´ve contacted with William Armstrong on Twitter for the same issue).

from assetbundles-browser.

alffanclub avatar alffanclub commented on August 16, 2024

If things are building correctly, than the issue is most likely with the Browser and not the lighting team. I'll look into it and can contact the lighting team if need be.
Thanks again.

from assetbundles-browser.

alffanclub avatar alffanclub commented on August 16, 2024

ok, @jbonastre I have looked into this, and discussed it with the lighting team. Here's the summary:

  • when you bake lights for multiple scenes together it creates one asset with multiple objects (one per scene) in that asset. The actual bundle building pulls in dependencies at the object level, but the browser operates at the asset level. So the browser thinks that all three of your bundles will need this single lighting asset. In reality, the asset is broken down and each bundle only needs the portion it pulls in. There isn't really a way to fix this in the browser because object level dependencies aren't currently exposed.
  • So, what to do about your specific situation? Well, from talking to the lighting team, I believe the workflow of lighting scenes together, but bundling them separately isn't quite ideal. When you light them together, items in each scene cast shadows/etc. on/with items in the other scenes. So if your use-case is that in-game you have all these scenes open at once, then they should be lit together, and in one bundle together. If your use-case is that the scenes will not be loaded together, then they should be lit independently, and bundled independently.
    I hope that makes sense. Sorry I'm unable to get this fixed with the browser. We will keep this scenario in mind as we work on the future bundling systems coming sometime in 2018.

from assetbundles-browser.

jbonastre avatar jbonastre commented on August 16, 2024

from assetbundles-browser.

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.