Nate लिखाbut I gotta say I was sweating until the part of your post that said the performance improved rather than declined!
Same here! :grinteeth:
Are you using SkeletonMecanim
? There we fixed an admittedly stupid issue where the first clip was applied twice in some mix settings: [unity] SkeletonMecanim unnecessarily applies clip twice · #1648
Thanks goes to user RichardTrailmix who found this issue.
Nevertheless, this does not explain the 3x improvement to me yet, it would explain a 2x speedup.
There was also an improvement regarding ToAtlasRegionPMAClone()
methods, but I guess that is not relevant in your scenario.
We also changed some angle calculations which were previously performed using some lookup tables in the spine-unity runtime to direct sine/cosine calculations (which were intended as performance improvements back then):
https://github.com/EsotericSoftware/spine-runtimes/commit/e62c42c0412faf4b7ce9b55ae8d26aeeabfa43ce
Still, this change did not have any measurable effect on my PC, so I assume it also does not improve things dramatically on your end. Put differently, I'm happy that it did not get measurably worse 😉.
These were the commits I found which would have an affect on performance. Apart from that, some Unity Editor scripting code has also been modified along the way, you might also see improvements from some cleanup that happened there.
TL;DR: SkeletonMecanim
performance should be much better now (2x would be expected), if you are not using
SkeletonMecanim`, I cannot explain the 3x improvement, but I'm happy about it! :nerd: