ok, i copied the code and it gave this error
so i was like "Shuks!"
then i took the code to it's original version with only
return (animator.IsPlaying(clipName));
and keep on working meanwhile, but then i came across this, don't know if it helps or just something random, but i realized that the game crashes when returning to the main menu ONLY when a HitEffect prefab was on the screen the moment i pause the game and returned to the menu (pausing the game in middle of a hitting attack)
checked it in training, versus, and arcade, and 4 out of 6 times the game crashes, just a couple of time it didn't.
Thanks for the help!
Me encontraste en un negro camino como un peregrino sin rumbo ni fe, pero la luz de tus ojos divinos cambió mi suerte por dicha y placer.