We came across this issue because some of the animations we previewed in the HTML Canvas showed up black.
Investigating the json file (Rider complained about those passaeges) we found that quite a few entries showed up as duplicates.
This included duplicates in attachements:
"animations": {
"<animationName>": {
"slots": {
"collar_B": {
"attachment": [
{ "name": "collar_B_qrt" }
],
"attachment": [
{ "name": "collar_B_qrt" }
]
},
including timestamp duplicates:
"animations": {
"<animationName>": {
"slots": {
"collar_B": {
"attachment": [
{ "time": 0.3333, "name": "collar_B_qrt" }
],
"attachment": [
{ "name": null },
{ "time": 0.3333, "name": "collar_B_qrt" }
]
},
split deform information:
"deform": {
"default": {
"collar_R": {
"collar_R_qrt": [
{
"vertices": [ 1.40594, 0.24158, 1.4173, 0.16327, 1.42523, -0.06268, -0.93713, 1.15576, -6.45776, 1.58105, -6.38153, 1.86499, -33.42444, 2.03522, -7.94641, 3.76801, -1.59375, 4.69037, -1.81342, 4.61005, -1.65045, -9.05835, -1.30182, -9.11511, -0.87024, -9.16632, -57.50574, 8.11707, -57.77478, 5.90527, -57.9892, 3.17181, -62.47229, -4.96088, -57.73309, -3.73566, -54.17773, -2.71277, -54.04266, -4.68762, -2.13513, -2.85059, -2.64389, -5.31091, -0.54956, -2.77148, -1.12604, -2.59119, -21.07129, -3.13641, -20.93549, -3.94238, -20.72614, -4.92609, -37.30969, 6.10742, -37.23816, 6.52936, -37.46118, 5.09613, -37.74139, 2.21375, -37.66003, 3.32239, 1.27911, -5.99207, 1.50797, -5.93872, 1.78656, -5.86084, -48.30896, 7.48669, -48.56055, 5.62811, -48.77216, 3.3299 ]
},
{ "time": 0.1667 }
],
"collar_R_side": [
{},
{
"time": 0.1667,
"vertices": [ -1.90436, 0.23267, -1.64362, 0.98944, 0.93719, -1.15585, 6.45776, -1.58121, 6.38165, -1.86505, 33.1076, -3.61182, 7.94653, -3.76804, 1.59412, -4.68878, 13.01971, -15.76636, 10.59131, -17.91486, 60.43695, -10.15106, 62.61182, 2.67816, 57.83112, 1.62665, 54.17786, 2.71271, 2.13525, 2.85052, 2.64401, 5.31085, 0.02167, 2.76761, 1.14914, 2.51788, 21.4624, 6.2442, 23.80688, 2.84918, 37.271, -1.54532, 39.35236, -7.29266, -1.01794, 8.35626, 0.59766, 8.39923, 48.14148, -2.04465, 50.82214, -9.46765 ]
}
],
"collar_R_side": [
{
"time": 0.3333,
"vertices": [ -2.52228, 0.47977, -2.51367, 0.52283, 0.93713, -1.15579, 6.45782, -1.58124, 4.01801, -5.29706, 32.92554, -3.52687, 7.79584, -4.0703, 1.41266, -4.74477, 29.06006, -36.8452, 14.55005, -44.61334, 62.30133, -15.21936, 62.61176, 2.67822, 57.83099, 1.62671, 54.17761, 2.71283, 2.21826, 2.78632, -1.19434, 5.81119, -0.49146, 2.66528, -0.44586, 2.67328, 21.20154, 9.41431, 26.89581, 1.14783, 36.43896, 3.21912, 40.87103, -10.099, -0.66144, 10.73254, 3.08502, 10.30084, 47.04907, 3.13405, 52.3493, -13.99188 ]
}
]
},
We checked for example the attachements in spine and there was no duplicate entry.
Maybe you know about this or can have a look?