I just updated my project to 3.8 and now at run-time it's giving this error
E/AndroidRuntime: FATAL EXCEPTION: GLThread 155
Process: com.heroes.game, PID: 3085
java.lang.IllegalArgumentException: name cannot be null.
at com.esotericsoftware.spine.Skin.<init>(Skin.java:54)
at com.esotericsoftware.spine.SkeletonJson.readSkeletonData(SkeletonJson.java:259)
Occurs when I initialize a skeleton data:
humanSkeletonData = humanJson.readSkeletonData(Gdx.files.internal(AssetPaths.HUMAN_JSON))
Originate from SkeletonJson.java (second line):
for (JsonValue skinMap = root.getChild("skins"); skinMap != null; skinMap = skinMap.next) {
Skin skin = new Skin(skinMap.name);
for (JsonValue slotEntry = skinMap.child; slotEntry != null; slotEntry = slotEntry.next) {
SlotData slot = skeletonData.findSlot(slotEntry.name);
if (slot == null) throw new SerializationException("Slot not found: " + slotEntry.name);
for (JsonValue entry = slotEntry.child; entry != null; entry = entry.next) {
try {
Attachment attachment = readAttachment(entry, skin, slot.index, entry.name, skeletonData);
if (attachment != null) skin.addAttachment(slot.index, entry.name, attachment);
} catch (Exception ex) {
throw new SerializationException("Error reading attachment: " + entry.name + ", skin: " + skin, ex);
}
}
}
skeletonData.skins.add(skin);
if (skin.name.equals("default")) skeletonData.defaultSkin = skin;
}
I didn't change any skin related in my project, what does it mean?