I took a few months off working on a Unity project of mine which uses Spine animations but have recently tried to get back working on it. Since last working on it, I've gotten a new computer and have transferred everything to the new computer. At the same time
and perhaps this was a mistake
I installed the newest version of the Spine Runtime (v4.0).
I have many CS0117 and CS1061 "does not contain a definition for..." errors all pertaining to the AttachmentTools Spine Runtime script. In reading the Spine 3.7 to 3.8 & Spine 3.8 to 4.0 Upgrade Guides here on the forums, I understand I'm supposed to replace certain lines of code, but I seem to be struggling to do this. I'm not very good when it comes to coding. The previous version of the Spine Runtime I was using was 3.7.
As an example, one of the CS0117 errors is 'MeshAttachment' does not contain a definition for 'inheritDeform'. In the AttachmentTools script, the lines of code throwing the error are:
public static MeshAttachment GetClone (this MeshAttachment o) {
var ma = new MeshAttachment(o.Name) {
r = o.r,
g = o.g,
b = o.b,
a = o.a,
inheritDeform = o.inheritDeform,
According to the 3.7 to 3.8 upgrade guide, I am to replace MeshAttachment.GetLinkedClone() with MeshAttachment.NewLinkedMesh(). However, I don't see a "MeshAttachment.GetLinkedClone()". I only see "MeshAttachment GetClone" and "MeshAttachment(o.Name)". So I'm not really sure what I need to do to fix this error code.
At the end of the day I'm really just trying to get things working like they were on my old computer. Any help would be appreciated. Thanks.