Coder Social home page Coder Social logo

Comments (5)

loodakrawa avatar loodakrawa commented on September 15, 2024

I wasn't able to replicate the issue. The only case I can think of where this could be happening is when a character map file points to itself which shouldn't be happening. Is that perhaps the case?

Something like this:
<character_map id="0" name="alternate 1"> <map folder="0" file="0" target_folder="0" target_file="0"/> </character_map>

from spriterdotnet.

MattDahEpic avatar MattDahEpic commented on September 15, 2024

There are lines like that in the spriter file, is that a case of replacement textures being the same as the textures they replace?

from spriterdotnet.

loodakrawa avatar loodakrawa commented on September 15, 2024

Depends on the content. It basically says - for this character map, replace [folder,file] with [target_folder,target_file]. So if they match it means the file points to itself which is causing the stack overflow. Can you please check if that's the case?

You also said it happens in the example - which modifications did you do to the example? Because I'm fairly certain it doesn't happen by default.

I'm trying to determine if this is just a case of weird data or an edge case I missed.

from spriterdotnet.

MattDahEpic avatar MattDahEpic commented on September 15, 2024

OK, I did a bit of testing. My animation was replacing sprites with themselves (folder==target_folder, file==target_file) and I replaced your GreyGuy with my Grey(AndGreen)Guy which had the same problem.

The problem is my making, but if I could suggest some sort of sanity check when importing it may prevent future users from running into this problem since spriter seems to handle assigning textures to themselves just fine.

from spriterdotnet.

loodakrawa avatar loodakrawa commented on September 15, 2024

Will definitely fix it. Thanks for reporting and helping diagnose the problem!

from spriterdotnet.

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.