Hi, I apologize in advance if I haven't found any information about this.

Before I start working, I want to ask on the forum.

Is Spine with physics currently running in Unreal Engine?
If yes, in which version 5.2, 5.3? What version of the script to use 4.1, 4.2 beta?

Already created a project with new physics in Spine - it's great!

Thanks for your great work!

    Cream According to the change log on GitHub, the spine-ue runtime in the 4.2-beta branch should already be compatible with Spine Editor 4.2-beta, but I just tried to see if I could open the example project on my end and got an error, and we just got a report from a user on GitHub that they also got an error, so it may not work properly at this time.

    During the beta period, the editor side is updated very quickly and the runtime may not keep up with the editor updates, so if you try it and it does not work, please wait for a future runtime update.

    Gathered some info, hopefully will help get it fixed sooner rather than later.

    Thanks a lot)



    Sorry, spine-cpp (that spine-ue) in the 4.2-beta branch is currently a WIP. We will have it working in the next few days, as we will release 4.2 as non-beta soon!

      Nate That's great to hear) Thanks for the feedback and help, you guys are awesome!

      The forum is handy too, especially the built-in Russian translation button)

        6 days later

        Cream The spine-cpp and the spine-ue runtime have been updated to use skeletons created with Spine 4.2-beta! It also supports physics as shown in the video below:

          4 days later

          Misaki
          May I ask if your project is spine-runtimes-4.2-beta on Git?
          I downloaded this project,But it say:

            Misaki
            vs Error:
            SkeletonJson.cpp
            C4703 Potentially uninitialized local pointer variable 'keyMap' used

            @jackar Sorry to hear you're having troubles. Please always post the complete unabbreviated compile error message. Your message is missing important details like the line number.

            jackar Yes, the video I uploaded was recorded by importing celestial-circus into the SpineUE project in the 4.2-beta branch of the spine-runtimes repository.

            The error message you uploaded is actually one that I have seen many times, but this error message is quite vague. As far as I know, the error is caused by the following factors:

            • The spine-runtimes/spine-cpp/spine-cpp folder is not correctly included in Plugins/SpinePlugin/Source/SpinePlugin/Public/. (This procedure is also required even if you open the official sample project.)
            • "SpinePlugin" is not included in the PublicDependencyModuleNames in the Build.cs file of your project.
            • Your installed version of Visual Studio or Xcode is not compatible with UE5.3.

            I hope this helps you.

              Misaki
              I apologize for my vague description earlier. Let me detail my experience.

              First, I used spine-runtimes 4.1.00 on GitHub. Then, following the official documentation process, I opened it with Unreal Engine 5.3.2. It was able to compile successfully and run perfectly.

              Next, I will attempt to use spine-runtimes 4.2Example on GitHub, because I noticed that only this project contains "celestial-circus".

              I am using Windows 11, Unreal Engine 5.3.2, and Visual Studio 2022 17.9.4 .
              I have prepared according to the official procedure:


              Then I right-clicked on SpineUE.uproject to generate SpineUE.sln, and opened SpineUE.sln to run Local Windows Debugger, the following error popped up:

              Then I opened SpineUE.uproject, and the same error occurred.

              I'm not sure if my description is detailed enough, please contact me if you need more details. I hope to use the physical effects of spine4.2 in the Unreal Engine as soon as possible. Thanks for the reply!

                jackar Thank you for the detailed report! Your setup looks correct, and I have confirmed that I get the same error when I try it on my Windows PC. We are sorry for the inconvenience, but hope you will be patient while we investigate this issue.

                Apologies! It looks like UE added a new set of "this warning is now an error" compiler flags. Please pull the latest changes from the 4.2-beta branch, and make sure you also update your copy of spine-cpp in the UE project.

                Thank you for your kind words! I have employed the 4.2-beta version, which functions flawlessly!