AniMittra Posted March 6, 2015 Report Share Posted March 6, 2015 Switching to Unity 5 broke Spriter2Unity for me, had to switch to mythgarr's branch and update a few of the scripts because some things were depreciated. There used to be a Spriter Entity script component in the old version I had and this one doesn't seem to have it, not sure if that actually matters though. Well anyways the animations I had already brought in seem to be working fine. I haven't tried importing new animations or updating ones already brought in yet. If it doesn't work I'll have to go back to Unity 4.6 :-| Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted March 6, 2015 Report Share Posted March 6, 2015 Hi AniMittra, Providing your altered version of Spriter2Unity to Bonus2113 might enable to update his version more quickly. The github page for Spriter2Unity can be found here: https://github.com/bonus2113/Spriter2Unity Thanks, Mike at BrashMonkey Quote Link to comment Share on other sites More sharing options...
Dengar Posted March 10, 2015 Report Share Posted March 10, 2015 I made a pull request to bonus2113, to merge the Unity 5 update from Mythgarr's fork into it. However, so far it has not happened yet. So I went ahead and created my own fork at https://github.com/Dharengo/Spriter2Unity, and merged the Unity 5 update into that. The readme is not updated, and the package has not been updated either, so you'll have to import the Assets folder into Unity by hand. I don't intend to work any further on this tool at this point in time, but at the very least I could provide a "most recent fork". WARNING: The current version is completely untested. I just merged the branches. That said, I would like to hear feedback on how it performs. Although if it's identical to Mythgarr's it should be fine. Quote Link to comment Share on other sites More sharing options...
Dengar Posted March 12, 2015 Report Share Posted March 12, 2015 Pardon the double post, but I have an update. I decided to experiment a little with Spriter for my own project, so I tried out the aforementioned version. It appears to work just fine, so I went ahead and cleaned up the tool a little. There should no longer be any meaningless errors or warnings (I hate those). I also went ahead and updated the package and the Readme. You can find it here (a link to the Unity 4 version also exists): https://github.com/Dharengo/Spriter2Unity I still won't be working on this tool full time, so I hope that someone else will fork this and continue work on it. That being said, in the event that I improve on it a little for my own purposes, I'll be sure to share. Message to admin: What do you think, what with the Unity 5 compatibility thing, is it worth creating a new topic and sticky that instead of this one? Trumgottist 1 Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted March 13, 2015 Report Share Posted March 13, 2015 Awesome stuff Dengar! Thanks very much for this. Cheers,Mike at BrashMonkey Quote Link to comment Share on other sites More sharing options...
Dengar Posted March 14, 2015 Report Share Posted March 14, 2015 Out of curiosity, to any of you Spriter2Unity users out there. Do any of you Spriter2Unity users have issues during the first time importing an .scml file (or after making changes to it)? In particular when there are already prefabs present. Usually the prefabs don't behave as they should (they don't animate, or use the wrong textures, etc.), it's fixed after I delete the prefabs (and associated AnimatorControllers), then reimport the .scml file. I think I had similar problems even in older versions of the converter. Can anyone else confirm that this issue is a real thing or am I just doing something wrong? Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted March 19, 2015 Report Share Posted March 19, 2015 Hi again Dengar, Starting a new Thread would be fine, but I suggest holding off a bit until we hear back from bonus2113 cheers,Mike at BrashMonkey Quote Link to comment Share on other sites More sharing options...
Dengar Posted March 19, 2015 Report Share Posted March 19, 2015 I wouldn't mind waiting a little bit. But I would like to point out that we haven't heard from bonus2113 since last july. Trumgottist 1 Quote Link to comment Share on other sites More sharing options...
Xelnath Posted March 21, 2015 Report Share Posted March 21, 2015 Dengar, I'm looking into some changes for Spriter2Unity as well: I am converting it to place all of the .anim files into a folder, rather than storing them inside the prefab and doing some other changes to improve the workflow. (I already made a cool animation mapper tool to make reimporting Spriter animations to an existing Animation Controller easier.) Want to work with me? drop me an email: xelnath at xelnath daught com Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted March 25, 2015 Report Share Posted March 25, 2015 Hi everyone. Feel free to start a new Thread specifically for Spriter2Unity for Unity 5.x. Cheers,Mike at BrashMonkey Quote Link to comment Share on other sites More sharing options...
Xelnath Posted March 27, 2015 Report Share Posted March 27, 2015 That's a good idea, but right now, the Spriter2Unity for 4.6 is working in 5.0 on GitHub! :) If I do any major overhauls to clean up the importer, I'll start a new thread... DarrenOl 1 Quote Link to comment Share on other sites More sharing options...
Aprowolf Posted March 27, 2015 Report Share Posted March 27, 2015 Two Issues I want to address at the momment for spriter 2 Unity 1) any projects that i have that contains "Boxes" replaces the boxes with an image during run time , so in order to make my animations animate correcty I have to remove the boxes colliders from spriter SCML 2) In the class SpriterTimeLineKey.cs is causing reimport issues for me in the lines File GetFile(XmlElement element) { // Issue here var folderId = element.GetInt("folder", -1); var fileId = element.GetInt("file", -1); File file = null; var folder = Timeline.Animation.Entity.Scml.GetFolder(folderId); //rest of the code} I don't think any of projects built with R3 has -1 for a folder and id right? so i replaced the -1 to 0 to get correct animations , i still have the issue with rendering boxes though var folderId = element.GetInt("folder", 0); var fileId = element.GetInt("file", 0); am i the only one who faced these issue? Quote Link to comment Share on other sites More sharing options...
Xelnath Posted March 28, 2015 Report Share Posted March 28, 2015 I've never seen Reimport trigger correctly - I just delete the import a fresh copy of the SCML. Quote Link to comment Share on other sites More sharing options...
freeprogrammer Posted April 6, 2015 Report Share Posted April 6, 2015 Hello. How to import animation of skin to Unity3d? Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted April 6, 2015 Report Share Posted April 6, 2015 Hi freeprogrammer, I'm afraid I don't understand your question. What do you mean by "animation of skin"? Are you referring to Spriter animations in general, or a specific feature? Have you read and followed the instructions found in the first post of this thread? Detailed:Download this Unity package: https://github.com/b... ... itypackageOpen your Unity project.Import your whole Spriter project folder into Unity.With Unity open, go to the folder you saved the Unity package to and double click it.Unity should pop up with a dialog asking if you want to import the assets, click import on the bottom right.Unity should now import the Spriter2Unity package and then automatically convert your SCML files to prefabs. The prefabs will be in the same folder as the SCML files.There's an example included which imports the GrayGuy character and animates him via Mecanim.I'm currently working on the in-code documentation to make it easier for other people to contribute. You are very welcome to fork the repository and create pull requests!If you have any questions feel free to ask them here. I'd appreciate it if bug reports would be done via GitHubs issue system (https://github.com/b...er2Unity/issues), but I if you don't want to create a (free) GitHub account, this forum is fine as well. cheers,Mike at BrashMonkey Quote Link to comment Share on other sites More sharing options...
freeprogrammer Posted April 6, 2015 Report Share Posted April 6, 2015 I'll show you an example:http://youtu.be/acTfbpvmCkU I can not import this animation. Please help this is very important for me. Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted April 6, 2015 Report Share Posted April 6, 2015 Ah, That's what I thought. When you said skin, you actually meant "skin mode" which is the "proof of concept" unfinished image deforming feature. That feature is unfinished and will be completely replaced, using a new data structure and new UI. For this reason, users have been told to not use that feature for any final work..only experimentation and feedback, and no run-time supports this mode for that reason. The replacement for that mode is still fairly far off in time, but once it's implemented, we hope to help developers get it supported for all major authoring systems as quickly as possible. cheers,Mike at BrashMonkey Quote Link to comment Share on other sites More sharing options...
freeprogrammer Posted April 7, 2015 Report Share Posted April 7, 2015 IK animation also not supported to? Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted April 7, 2015 Report Share Posted April 7, 2015 Currently IK is only to help pose key-frames and is not stored in the actual data, or taken into account during animation playback (not in Spriter itself, or in any of it's run-times.) This will likely change in the future, but not very soon. Cheers, Mike at BrashMonkey Quote Link to comment Share on other sites More sharing options...
AnnoNomis Posted April 19, 2015 Report Share Posted April 19, 2015 Hi, I'm currently using Spriter as part of my uni game project. I've made several spriter animations and imported them with the spriter-unity package. Unfortunately there are some weird transformation issues that happen when one animation transitions into another animation. I want my animations in Unity to "instantly" transition to each other rather than having "tweening transitions". Here's a youtube video showing this issue (sorry I couldn't annotate the video itself): How do I fix these tweening issues in Unity? Quote Link to comment Share on other sites More sharing options...
Dengar Posted April 19, 2015 Report Share Posted April 19, 2015 There is a new topic up. In any case, you should be able to modify the transitions manually to happen instantly. Just select the transition in the Animator and you should be able to modify it from the Inspector. Quote Link to comment Share on other sites More sharing options...
Rnd Posted January 4, 2016 Report Share Posted January 4, 2016 Sorry wrong room... I move it to http://brashmonkey.com/forum/index.php?/topic/3993-spriter-for-unity-50 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.