For such character map applied there is infinite recursion happening in SpriterDotNet.Providers.DefaultAssetProvider<T>.Get method.
To reproduce, import following Unity package CharacterMapStackOverflowRepro.zip into example Unity project in the repository SpriterDotNet/SpriterDotNet.Unity. Open imported scene CharMapStackOverflowRepro.unity and either in edit mode or play mode, use context menu item "Push char map and update" of PushCharMapAndUpdate component attached to CharMapStackOverflowRepro game object in the scene to observe infinite recursion.
Consider a following cyclic character map data in the .scml file:
where cyclic means:
For such character map applied there is infinite recursion happening in
SpriterDotNet.Providers.DefaultAssetProvider<T>.Get
method.To reproduce, import following Unity package CharacterMapStackOverflowRepro.zip into example Unity project in the repository SpriterDotNet/SpriterDotNet.Unity. Open imported scene
CharMapStackOverflowRepro.unity
and either in edit mode or play mode, use context menu item "Push char map and update" ofPushCharMapAndUpdate
component attached toCharMapStackOverflowRepro
game object in the scene to observe infinite recursion.