Player Controller PART 1: How To Export Animation From Spine And Import Into Unity (Tutorial)

Hey everyone! 🧡
I've decided to create a series of Spine - Unity 2D character controller tutorials, and in this video I'm showing how to export the animations from Spine 2D and import them into Unity project.
Hope you'll find it useful! 👍
As always, Russian titles available!
Субтитры на русском! 😉
Here's the link to the official Spine Unity Runtime package:
esotericsoftware.com/spine-uni...
_______________________
FOLLOW US
►Instagram:
/ thinkcitric
►Twitter:
/ citricthink
_______________________
MUSIC
Beach Buggy Ride by SIRPRICE / sirpricedj
Creative Commons - Attribution 3.0 Unported- CC BY 3.0
creativecommons.org/licenses/b...
Music promoted by Audio Library • Beach Buggy Ride - Ele...
#spine2d #unity2d #charactercontroller #unitytutorial #madewithunity #madewithspine #spineanimation #skeletonanimation #tutorial #howto #thinkcitric #gamedev #gamedevelopment #unity2019

Пікірлер: 83

  • @mrsvard417
    @mrsvard4174 жыл бұрын

    Great tutorial, but i do have a question. When i export my project, the atlas file gets exported like this "Success_text.atlas" which makes it impossible to import into unity. However if i add ".txt" after that it works just fine. Do you know why it gets exported like this?

  • @ThinkCitric

    @ThinkCitric

    4 жыл бұрын

    I checked this out, the extension indeed needs to be atlas.txt to make it work in Unity. I have it configured by default like this, so I never had any problem. You can set you default atlas extension setting in Spine - Export - Pack Settings - Options section. Just change your atlas extension configuration there to .atlas.txt, and you should be fine. At least that works for me. :)

  • @mrsvard417

    @mrsvard417

    4 жыл бұрын

    @@ThinkCitric thanks!:)

  • @pitt9560

    @pitt9560

    4 жыл бұрын

    @@mrsvard417 Had the same problem thanks for pointing this out!

  • @RevenGF

    @RevenGF

    4 жыл бұрын

    @@ThinkCitric I have been trying to find this information on forums and such for a couple of days now. Many people tried solving it by messing with image size, but it was not consistent, which must relate to unknowingly comparing those who did or didn't have atlas files changed to atlas.txt. Without the atlas.txt, I also was not getting a materials file, either. This is huge help, and I wish it was easier for people to find the answer. Thank you SO much for explaining this!

  • @ThinkCitric

    @ThinkCitric

    4 жыл бұрын

    @@RevenGF Glad it helped! Wow, I didn't know that so many people experience this issue with atlases. I've pinned this comment so it will stay on the top of the comments section, and hope it will help people find the solution!

  • @glimpsygames2734
    @glimpsygames2734 Жыл бұрын

    if you have an error reading skeltonData in unity, open the json file and manually change the "skeleton": { "spine": "3.8.75" } to 3.8 if you have 3.8 spine-unity package version, just make it matches the spine-unity package version you use

  • @andaccoban663

    @andaccoban663

    Жыл бұрын

    Thanks Mate!

  • @Dimeless_

    @Dimeless_

    Күн бұрын

    Thanks !

  • @activemotionpictures
    @activemotionpictures3 жыл бұрын

    Instant subscribe!! You're awesome explaining these things!

  • @willlacey7621
    @willlacey76214 жыл бұрын

    Hey again! I took your course on Unity, Learn 2D Character Animation for Games in Spine Essential. This was a great follow up from your last lecture! Definitely appreciate your course materials and channel.

  • @ThinkCitric

    @ThinkCitric

    4 жыл бұрын

    Thank you so much! :) I'm happy to hear you liked it!

  • @nicolasalejandrocesari3057
    @nicolasalejandrocesari3057 Жыл бұрын

    Thank you so much for this information. Is super useful, I'm starting with unity and I want to learn how to use spine animations in my games. Thanks again 😄

  • @ThinkCitric
    @ThinkCitric5 жыл бұрын

    Hey, thanks for watching! 🧡 Part 2 of this tutorial will be available by the end of the next week. BTW, this is my first tutorial with voice-over, so your feedback will be much appreciated! 👍

  • @strawberrymilky694

    @strawberrymilky694

    4 жыл бұрын

    amazing tutorial but I don't get the skeleton data file at 2:50 for some reason can you help me with that?

  • @ThinkCitric
    @ThinkCitric5 жыл бұрын

    Hey everyone! As I've promised, part 2 is available here: kzread.info/dash/bejne/e6JtrZmwk9OppNI.html Enjoy! 🧡

  • @jimmyslaughter6262
    @jimmyslaughter62622 жыл бұрын

    This helped me fix my export settings for a Godot module, you are the best.

  • @francis10583
    @francis105834 жыл бұрын

    you are a great source of information for spine and unity connection

  • @ThinkCitric

    @ThinkCitric

    4 жыл бұрын

    I'm very glad to hear that it was helpful! :)

  • @IAmSuperWeirdGal
    @IAmSuperWeirdGal4 жыл бұрын

    Thank you! That was so clear, instant sub.

  • @ThinkCitric

    @ThinkCitric

    4 жыл бұрын

    Thank you, I'm glad it was helpful! :)

  • @shahzaibkhan599
    @shahzaibkhan5994 жыл бұрын

    As always wonderful Thank you

  • @ThinkCitric

    @ThinkCitric

    4 жыл бұрын

    I'm glad you found it useful! :)

  • @ThinkCitric
    @ThinkCitric4 жыл бұрын

    Since many of you have asked, I've created a few Udemy courses on Spine! 💛 ► Spine Essential course: www.udemy.com/course/learn-2d-character-animation-for-games-in-spine-essential/?referralCode=828AEA929E30837D1F4F ► Spine Pro course: www.udemy.com/course/spine-pro-a-complete-2d-character-animation-guide/?referralCode=84DB13BBD24AC645D6EA

  • @ouayhan
    @ouayhan2 жыл бұрын

    Awesome content. Could you add these series of tutorials also into your Unity Courses on Spine Esssential and Spine Pro ?

  • @AyushKumar-ow6lv
    @AyushKumar-ow6lv10 ай бұрын

    Thankyou so much!

  • @josiahjots1376
    @josiahjots13764 жыл бұрын

    You're awesome, thanks!

  • @ThinkCitric

    @ThinkCitric

    4 жыл бұрын

    Thank you, I'm glad it was useful! :)

  • @chandrawijayak6290
    @chandrawijayak62902 жыл бұрын

    thank you so much, you saved my life today anyway I like your voice

  • @Палитра
    @Палитра3 жыл бұрын

    Thank you very much!!!

  • @SaltedMallows
    @SaltedMallows2 жыл бұрын

    I've followed this completely but I have an issue when I export my character from spine with a simple animation pressing the play button to preview the animation does not work in unity, but for some reason it works in Spine. What did I do wrong I cant get my animations playing in Unity

  • @user-wf1qz6ol4i
    @user-wf1qz6ol4i3 жыл бұрын

    I`m from Russia! And Thank you for help!

  • @AkiNeki
    @AkiNeki Жыл бұрын

    Спасибо за помощь :>

  • @vybstaakaindian
    @vybstaakaindian3 жыл бұрын

    i didnt use mesh in my animations when i exported i only got the .json file then when i dragged into the character folder is was skeleton.txt file why and what did i do wrong?

  • @roxannafabiolastefaniuc3606
    @roxannafabiolastefaniuc36063 жыл бұрын

    OMG YOU DID IT ...."THINK CITRIC" YOU ARE A GENIUS WOMAN !!! ^^ MY TREE MOVES YEEYYYYY !!! Too bad I don't know you in person because I would give you a big box of chocolates and a big hug!! ... well to bad for the corona problem. But YOU...ARE...THE...BEST...!!! And the best teacher. I searched all day for a miracle and your video was awesome ^^ It's 1 AM here and I can sleep now with a smile ^^ THANK YOU SOOO MUCH !!

  • @ThinkCitric

    @ThinkCitric

    3 жыл бұрын

    Wow, thank you so much! :) I know the feeling, and I'm happy I was helpful! But... What did I do? :)

  • @roxannafabiolastefaniuc3606

    @roxannafabiolastefaniuc3606

    3 жыл бұрын

    @@ThinkCitric You helped me today and many other people with your knowledge. I don't know why people are getting more distant when someone ask help. But you have a kind heart to explain slow and carefully. Without any mistake and giving explanations why. I'm proud that a woman are better ^^ . Even on my job, the woman always know how to do it !! :D I will watch your next video tomorrow. I am tired of searching the wrong things. If I knew you sooner, I would make a lot of progress and understanding about Unity. But it's not to late. :D Bless you and you deserve a best year 2021 !! you really deserve it ^^ YAAAYYY ^^

  • @ThinkCitric

    @ThinkCitric

    3 жыл бұрын

    @@roxannafabiolastefaniuc3606 this was the first tutorial I ever made, and I had no idea it would be THAT helpful. Thank you so much for your kind words! People like you give me motivation to keep on teaching! :) And yeah, if you need any help - feel free to ask! :)

  • @roxannafabiolastefaniuc3606

    @roxannafabiolastefaniuc3606

    3 жыл бұрын

    @@ThinkCitric I wanted my tree to move but I forgot to hit the button play. So I thought it doesn't work. So your first video made my tree move. 😁😁😁 Thank you for your kind words, Sensei 🧙‍♀️🙏😊😉😅

  • @bossbrain00
    @bossbrain003 жыл бұрын

    When i try to import the spine files, i was only getting the three files you have drag but not the other files the materials and skeleton data, it is not there , also i would like to know the advantages of using spine atlas than the sprite images

  • @bz9894
    @bz98944 жыл бұрын

    great job thank you very much good luck

  • @ThinkCitric

    @ThinkCitric

    4 жыл бұрын

    Thanks, you too!

  • @hoaluuvan4451
    @hoaluuvan44514 жыл бұрын

    Thanks!

  • @ThinkCitric

    @ThinkCitric

    4 жыл бұрын

    Glad it was helpful! :)

  • @selimhanakkus4712
    @selimhanakkus47123 жыл бұрын

    i have two different animations in different projects but i cant use both of them for my player i only can use one of them, is there a way that i can use both these animations on my character or do i have to make them in the same project.

  • @Othellophi
    @Othellophi2 жыл бұрын

    Hi! I exported the file from spine but model that shows in unity only shows the ear and an attack slash. Did i export wrong?

  • @TheTIMERN
    @TheTIMERN2 жыл бұрын

    HI, I got some problems from spine to unity. My atlas just can't load the material, and there is " Page missing material " on it. Have you ever done with this problem before?

  • @OtroFanDelPes
    @OtroFanDelPes4 жыл бұрын

    The excellent tutorial, congratulations on your work, now a pity that in countries like Argentina I live in, it is impossible to buy these tools like Spine. Thanks for sharing anyway, I wish I could work with that tool.

  • @ThinkCitric

    @ThinkCitric

    4 жыл бұрын

    Thank you so much for your feedback! I truly hope Spine will be more affordable in future..

  • @moeinyousefifarmad3020
    @moeinyousefifarmad30202 жыл бұрын

    thanks

  • @user-ng4uz5sk2z
    @user-ng4uz5sk2z2 жыл бұрын

    Tell me pliz when exporting from a 3.7 spine in a png file, all parts of the Pers are scattered ((( and when I throw all the files into Unity (with patch 3.7 already unpacked, Couldnot automatically Set The AtlasAsset for Pers((((how to fix it?((((

  • @SBRSR.
    @SBRSR. Жыл бұрын

    Hi Need your help , Now in version 4 we can import png Seq into Spine but I am having issues with importing in Unity , Could you please share your knowledge please.

  • @play4fun599
    @play4fun5995 жыл бұрын

    It would be really good if Spine developers add export presets. I mean buttons like 'Export for Unity'. When you press it then export configuration sets in correct state.

  • @ThinkCitric

    @ThinkCitric

    5 жыл бұрын

    Agree, it could save a lot of time. Or at least they could add some tips to the software itself, like the recommendation to uncheck Strip Whitespace if software detects that you're using meshes. Tooltip or something.

  • @nguyenphucnguyen6072
    @nguyenphucnguyen6072 Жыл бұрын

    Hello. Awesome video. In 3:33 i wonder how you snap the second background to the border of the first one. This crazy fast to me. Thank you ^^

  • @darkspinedninja8808
    @darkspinedninja88087 ай бұрын

    Hi Im making an interactive game with mouse controls. To make explain it quickly, Lets say you have a hand controlled by the mouse and you can touch grab or hit things with the hand using the mouse like a ball or grabbing something to climb and the game is a pove. But keep in mind the hand is being controlled by the mouse so depending on what the object or the are of the object is there is a different animation for each thing such as Grab, Hold, Touch, Hit or Push. I can do the animation in spine easy but how do I register to unity that the hand is remotely controlled by the mouse? I'm new to Unity and I want to make this happen. I know its possible because I see a few games in Unity made his was but do you know how to do it by any chance. If not can you maybe look into it?

  • @user-qk4er7ve6d
    @user-qk4er7ve6d Жыл бұрын

    thx

  • @Mk2kRaven
    @Mk2kRaven Жыл бұрын

    What happened to your previous tutorials? I am trying to find them but they are gone.

  • @sidgames7327
    @sidgames73273 жыл бұрын

    Thanks a lot ...You are so fucking amazing in so much different ways...God Bless You a lot...

  • @hohoaho6890
    @hohoaho68902 жыл бұрын

    2:43 when i import my files they dont generate 3 additional files, what is happening? thanks

  • @teacarbon8546
    @teacarbon85462 жыл бұрын

    Hello Please excuse my poor English!My spine files import to unity always told me some errors,maybe it's version problem, my unity version is 2019 and spine is 3.8,the package is 3.8 may I know your version?

  • @codeforcoders69
    @codeforcoders693 жыл бұрын

    How to make collider animation

  • @Karlthuluu
    @Karlthuluu3 жыл бұрын

    Hi, this seems like a nice and easy to follow tutorial! Just before I purchase Spine, I want to ask if this works for Unity 3D as well?

  • @ThinkCitric

    @ThinkCitric

    3 жыл бұрын

    Hi, thanks for your feedback! :) You mean whether Spine works with 3D assets? Unfortunately, no, Spine is 2D animation software only. It works with pretty much any popular game engine, like Unity or Unreal, but suitable for 2D games only.

  • @Karlthuluu

    @Karlthuluu

    3 жыл бұрын

    @@ThinkCitric yes I know that it is 2D animation, but I just wondered if it worked in a 3D project. Think Paper Mario, which is 2D sprites/animation in a 3D environment

  • @ThinkCitric

    @ThinkCitric

    3 жыл бұрын

    @@Karlthuluu Oh, now I see. Yes, there should be no problem with that. Here's one of the examples that comes with Spine-Unity runtime package: esotericsoftware.com/forum/download/file.php?id=862

  • @Karlthuluu

    @Karlthuluu

    3 жыл бұрын

    @@ThinkCitric ah nice, thanks for the quick answer!

  • @ThinkCitric

    @ThinkCitric

    3 жыл бұрын

    @@Karlthuluu glad to help! :)

  • @vybstaakaindian
    @vybstaakaindian3 жыл бұрын

    ok it worked but my run animation was in a different project on spine so i imported it into the file with my other animations saved the project under a new name and did the export pack included it imported properly but an error message popped up stting it scan not find the skeleton data assets

  • @vybstaakaindian

    @vybstaakaindian

    3 жыл бұрын

    im kinda fustrated alil idk what to do honestly

  • @ThinkCitric

    @ThinkCitric

    3 жыл бұрын

    hmmm, sounds pretty strange. I've had such a weird issue only once. It might be that your Spine version is not compatible with your Spine-Unity runtime package installed. For example, you've updated your Spine to the latest version, and Spine-Unity runtime version is still an old one. I've had such a mismatch once, and there was a weird error in unity that it cannot find skeleton data assets. To solve it, try updating the Spine-Unity runtime to the latest version, and then try importing the assets once again. Hope it helps! Please keep me updated on this issue.

  • @ThinkCitric

    @ThinkCitric

    3 жыл бұрын

    Oh, and of course, before updating the runtime, please create a backup for your unity project, in case it goes wrong.

  • @user-jn9gz4nk8x
    @user-jn9gz4nk8x Жыл бұрын

    какой приятный голос у девушки, я влюбился)

  • @vybstaakaindian
    @vybstaakaindian3 жыл бұрын

    my imports didint work

  • @glistensofts6232
    @glistensofts62323 жыл бұрын

    could any face the problem JSON file for skeletonData problem?????????

  • @jihenebenali7111

    @jihenebenali7111

    3 жыл бұрын

    you should just edit the json file by renaming "spine": "3.8.75" to "spine": "3.8.0" ( 3.8 for me depends on your version)

  • @sciencedirect9253

    @sciencedirect9253

    3 жыл бұрын

    @@jihenebenali7111 thanks

  • @haryomurti3361

    @haryomurti3361

    2 жыл бұрын

    @@jihenebenali7111 OMG! THAT WORKS! THAANKS!

  • @ga1actic_muffin
    @ga1actic_muffin3 жыл бұрын

    you said "are - in checked" you mean AREN'T checked or ARE?????

  • @ThinkCitric

    @ThinkCitric

    3 жыл бұрын

    Are UNchecked. Sorry for my accent :)

  • @ga1actic_muffin

    @ga1actic_muffin

    3 жыл бұрын

    @@ThinkCitric ok thanks for your fast reply

  • @menmalem101
    @menmalem10111 ай бұрын

    FOR THOSE WHO HAVE ERROR WITH THE SKELETON DATA JUST EDIT THE JSON FILE "spine":"3.8.75" or whatever to "spine":"3.8.0"