Comments (5)
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.
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.
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.
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.
Will definitely fix it. Thanks for reporting and helping diagnose the problem!
from spriterdotnet.
Related Issues (20)
- random access to character maps HOT 1
- Adding SpriterDotNet to an Android project HOT 5
- Total bounding area HOT 2
- cannot read scml file HOT 1
- Find name of sprite that sprite transform applies to HOT 4
- Sprite Object pixel coordinate snapping in pixel mode HOT 1
- SpriterDotNet NuGet packages broken in latest release of MonoGame. HOT 1
- Animator always null in Start method(Unity) HOT 2
- More of a question than an issue about the project HOT 4
- Regarding the creation of bounding boxes, and collision boxes. HOT 4
- Stack overflow when using cyclic character map
- Changing sprites of prefab e.g. when switching armor or weapons
- Bone manipulation at runtime.
- General codestyle issues. HOT 6
- Remove Linq. HOT 3
- Simplify public interface. HOT 3
- unity 2019.2.1 constant hourglass when clicking generated prefabs HOT 2
- Enter Safe Mode at open
- Example please HOT 1
- Transitions do not play the full animation HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spriterdotnet.