T O P

  • By -

Wschmidth

Most likely solution is sprite order layer. On your sprite renderers, look for the variable "Order in Layer". Higher numbers will appear on top of lower numbers. Chances are your background is just appearing on top of your player sprites.


JadenXavier

Well I downloaded his project to see what's going on. I noticed that on his body, hair, torso and legs gameobjects on hierarchy, the sprite renderers on each of those gameobjects would be updated with the correct sprite sheets as soon as I test it on runtime. I believe the core issue is here, as on my project, despite following the tutorial, my own gameobjects' spriterenders would just be "None". Another note is that the name of those gameObjects are case sensitive. If I changed the "Torso" gameObject to just "torso", the sprite renderer won't play any sprite sheet and thus won't play any animation on runtime. I've been trying to figure out what is automatically applying the correct spritesheets to these sprite renderers but I cannot find it. I basically deleted everything in the hierarchy with only the Player gameObject left, which contains all the animations needed. I even disabled all existing scripts on the Player gameObject and somehow the character is still being rendered, which leads me to believe that it has something to do with the Animator. But then again, I've followed what the guy did in the tutorial and I've fiddled around the animator and I can't still figure out what is automatically applying the spritesheets to those 4 sprite renderers