Jump to content


  • Posts

  • Joined

  • Last visited

K's Achievements


Newbie (1/14)



  1. What I am using: Spriter Pro Unity2Spriter Plugin Unity 5 Steps to replicate The Problem: play Unity Game play animation 1 before animation 1 is completed, play animation 2 using the same exported spriter Game Object the next time you play animation 1, it will transit into a wrong position and rotation on the last frame Additional Info: the wrong position and rotation is relative to when you interrupt animation 1 To illustrate the glitch better, this is a workaround I found: https://www.reddit.com/r/Unity2D/comments/46q08c/spriter_pro_animations_glitch/ The workaround suggested by Alparra works. However, it is quite tedious to execute, and the worst part is, each time you have an update for the sprite gameObject, you have to go through the stops for individual bone all over again. Do let me know the proper solution to the glitch. Thanks.
  2. Hey Dengar, I have an issue with the z-position, and have made a post with regards to the issue: I do not mean to spam but since you encourage users to inform you of issues, so i would like to try my luck here. Regardless, the tl;dr version of the post is: when I instantiate a spriter prefab, one of the sprite which is supposed to be at the far back, is now in the far front I instantiated the spriter prefab in more than 1 "scenes", and one of it works fine both of them are instantiated the same way, using the same methods/functions. Any input is appreciated, thanks in advance!
  3. Hey Mike, thanks for the quick reply. I am sorry for the misunderstanding. There is no change in the Z Order at any point in time. In other words, all the frames stayed in their z order throughout. I would also like to iterate that, in one of my game screens, the z order stayed in the right place throughout the whole animation. Do you have another possible solution?
  4. I am using Spriter Pro with Unity, with the help of https://github.com/Dharengo/Spriter2UnityDX exporter I have some issue with the sorting of the sprite's Z Order. The problem: Sprite that are assigned to be at the back is appearing in the front after exporting. Additional Notes: The spriter prefabs are generated via code. In other words, they are not placed in using the Unity Editor. I did set the exported prefab as a child of another object. Now this is the weirdest part, I have 2 game screens that displays the Spriter Prefab. However, in one of the screen, it is displaying fine, but on the other screen, it is not. Everytime. The methods used to display the display each time is exactly the same. (Using the same function). With some research, one of the solution is to switch on the "Apply Spriter Z Order" checkbox. This does resolve the Z Order issue, BUT, it also makes the Spriter Prefab always behind everything else. I need the prefab to be above some objects so that will not do. The request: I hope for an alternate solution to resolve the Z Order issue. Any help is appreciated. Thanks!
  • Create New...