Code Monkey home page Code Monkey logo

Comments (8)

laicasaane avatar laicasaane commented on May 21, 2024 1

@Antoshidza Thanks! It's great to see the fix on the first work day of the year. And I think the perf has improved a bit, the number of batches was over 20 at the time I posted this issue. Now it's 19.

from age-of-sprites.

Antoshidza avatar Antoshidza commented on May 21, 2024

It happens only in build AFAIK and only when animation switched, I'll try to figure out what goes wrong. Probably it happens because UVs baked from atlas which isn't the same in build and in editor

from age-of-sprites.

laicasaane avatar laicasaane commented on May 21, 2024

It happens only in build

I don't get what you mean. I captured the bug in the editor.

from age-of-sprites.

kstars111 avatar kstars111 commented on May 21, 2024

the sprite is split like the second picture in the editor view, but in play view the sprite is displayed properly

from age-of-sprites.

laicasaane avatar laicasaane commented on May 21, 2024

@kstars111 it doesn't display properly for me in the game view. The first image is from the game view.

image

from age-of-sprites.

kstars111 avatar kstars111 commented on May 21, 2024

I must admit I noticed the same initially, but then it seemed to resolve. Not sure if I updated the project and that made the difference. Is your project the latest version? image

from age-of-sprites.

laicasaane avatar laicasaane commented on May 21, 2024

@kstars111 I'm at the latest commit. Btw I'm opening the project in Unity 2022.2.1. Could that be a problem?

from age-of-sprites.

Antoshidza avatar Antoshidza commented on May 21, 2024

@laicasaane no, project intened to used with 2022.2.x. All this mess is because of unity sprite atlas. It work differently editor/play/build time + it can't just simply provide result of packing as final texture because of unity want to react at any sprite was changed during editor time, so texture will be invalidated. I think about using third party solutions and just import dumb atlas as solid texture without using unity sprite atlas. Baking just can't bake proper UVs.

from age-of-sprites.

Related Issues (3)

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.