Giter Site home page Giter Site logo

Comments (5)

Ayfel avatar Ayfel commented on July 19, 2024 2

I believe this is the issue btw https://forum.unity.com/threads/unity-5-3-objects-in-scenes-loaded-from-assetbundles-are-losing-their-static-flag.377771/

Still looking into it to see if there might be an easy fix

It also matches with what we observe as we load scenes from an assetbundle rather than prefabs directly

from prefablightmapping.

Ayfel avatar Ayfel commented on July 19, 2024 2

Further exploration seems to show that the meshes are being stored without the UV1 information (which is used for lightmaps), I need to look to see if there is a way to force that being stored when exporting the bundles. I'll let you know if I find out.

I believe its the way URP exports that it leaves the UV1 of meshes off the assetbundle for some reason

from prefablightmapping.

Ayfel avatar Ayfel commented on July 19, 2024

It might have to do with URP although I think it should work. Can you try loading the bundle without going through the server first to test things out?

Also if you can send me a bundle and the project to reproduce it I could take a look

from prefablightmapping.

jmota-dev avatar jmota-dev commented on July 19, 2024

I've just tried to load the AssetBundle from local and it happens the same.

You can take a look here: https://we.tl/t-6rH7jQAwKw

In the StreamingAssets folder, you can find the AssetBundle I'm using to do these tests.
In the Scene "SampleScene" you can check the prefab I'm using and in the scene "PruebaLuces" you can use a script to load locally the AssetBundle from the StreamingAssets folder.

Thanks for your support!

from prefablightmapping.

Alexbcn191189 avatar Alexbcn191189 commented on July 19, 2024

The same thing happens to me, have you found a solution?

from prefablightmapping.

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.