Hello,
I have downloaded the latest package (http://esotericsoftware.com/files/runtimes/unity/spine-unity-3_6-2018-02-11.unitypackage), but when I import it into my unity project I receive the following compilation error:
error CS0066: `Spine.EventQueue.AnimationsChanged': event must be of a delegate type
Page 1 of 1
Ianamus
1 year ago
- Ianamus
- Posts: 3
Pharan
What version of Unity are you using?
Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
1 year ago
-
Pharan - Posts: 5366
Ianamus
I'm currently using Unity version 5.6.1. Do I need to update to a newer version?
1 year ago
- Ianamus
- Posts: 3
Pharan
The latest 5.6 is fine, but that error doesn't make sense.
Can you get the complete message logged in the Unity editor console?
Can you get the complete message logged in the Unity editor console?
Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
1 year ago
-
Pharan - Posts: 5366
Ianamus
The full error message in the unity console is: Assets/Spine/spine-csharp/AnimationState.cs(910,25): error CS0066: `Spine.EventQueue.AnimationsChanged': event must be of a delegate type.
I think I may know the problem is. I have defined my own "Action" class in my games C# scripts, and this might be conflicting with a similarly named class in the Spine package. I'll try renaming my class and see if that fixes the issue.
Edit: That was the cause of the problem, and the issue is now fixed.
I think I may know the problem is. I have defined my own "Action" class in my games C# scripts, and this might be conflicting with a similarly named class in the Spine package. I'll try renaming my class and see if that fixes the issue.
Edit: That was the cause of the problem, and the issue is now fixed.
1 year ago
- Ianamus
- Posts: 3
Pharan
System.Action
is a built-in .NET/mono delegate type."https://msdn.microsoft.com/en-us/library/system.action(v=vs.110).aspx"
That's what Spine was using.
Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
1 year ago
-
Pharan - Posts: 5366
Mark topic unread
• Page 1 of 1
Return to Unity
- All times are UTC