Hi again, I found a little problem with your solution.
In some cases (presumably when the computer is not powerful enough), the animation glitches a bit when relooping. I'm pretty sure this glitch is caused because it starts playing the animation from a frame before or so.
For example, my animation goes from frame 20 to 50, and Unity SOMETIMES plays it from frame 19 when relooping it. It doesn't happen in my most powerful computer, so I guess it has something to do with the processing power.
Luckily I found a workaround for this where I just copy and paste the loop in Spine three times and I tell Unity to play the middle one. This way, the 1 frame offset doesn't affect the final result in Unity. Still I wonder if this is a common thing or there's another way to approach this problem.
Thanks!