• Runtimes
  • UE4 spine runtime is not working

  • Modificato
Related Discussions
...

Hi there.

Me and my friend are trying to run spine runtime with UE4 but it's not working.
We are follow the instruction, but every time it shows the error.

Severity   Code   Description   Project   File   Line   Suppression State
Error (active)   E0135   class "spine::SlotData" has no member "index"   SpineUE4   D:\UnrealEngine\Unreal Projects\Spine\spine-runtimes-4.0.31.test\spine-ue4\Plugins\SpinePlugin\Source\SpinePlugin\Public\spine-cpp\src\spine\Skeleton.cpp   352   
Error C2039 'index': is not a member of 'spine::SlotData' SpineUE4 D:\UnrealEngine\Unreal Projects\Spine\spine-runtimes-4.0.31.test\spine-ue4\Plugins\SpinePlugin\Source\SpinePlugin\Public\spine-cpp\src\spine\Skeleton.cpp 352
Error C2039 'findSlotIndex': is not a member of 'spine::SkeletonJson' SpineUE4 D:\UnrealEngine\Unreal Projects\Spine\spine-runtimes-4.0.31.test\spine-ue4\Plugins\SpinePlugin\Source\SpinePlugin\Public\spine-cpp\src\spine\SkeletonJson.cpp 852
Error C2248 'spine::SkeletonData::_slots': cannot access private member declared in class 'spine::SkeletonData' SpineUE4 D:\UnrealEngine\Unreal Projects\Spine\spine-runtimes-4.0.31.test\spine-ue4\Plugins\SpinePlugin\Source\SpinePlugin\Public\spine-cpp\src\spine\SkeletonJson.cpp 853
Error C2664 'int spine::ContainerUtil::findIndexWithName<spine::SlotData>(spine::Vector<spine::SlotData *> &,const spine::String &)': cannot convert argument 1 from 'const spine::Vector<spine::SlotData *>' to 'spine::Vector<spine::SlotData *> &' SpineUE4 D:\UnrealEngine\Unreal Projects\Spine\spine-runtimes-4.0.31.test\spine-ue4\Plugins\SpinePlugin\Source\SpinePlugin\Public\spine-cpp\src\spine\SkeletonJson.cpp 853
Error C3861 'setError': identifier not found SpineUE4 D:\UnrealEngine\Unreal Projects\Spine\spine-runtimes-4.0.31.test\spine-ue4\Plugins\SpinePlugin\Source\SpinePlugin\Public\spine-cpp\src\spine\SkeletonJson.cpp 856
Error MSB3073 The command "D:\UnrealEngine\UE_4.27\Engine\Build\BatchFiles\Build.bat SpineUE4 Win64 Shipping -Project="D:\UnrealEngine\Unreal Projects\Spine\spine-runtimes-4.0.31.test\spine-ue4\SpineUE4.uproject" -WaitMutex -FromMsBuild" exited with code 6. SpineUE4 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 45

We are followed all the instruction completley. Our VS version is 2019. Our Unreal 4.27.2 version.


Well, I got compiled (it was wront copied foulder spine-cpp). But at other computer error is still here, start of the topic is still actual. And by the way it's Windows 11 on it.

You have to regenerate the Visual Studio project on the other computer as well after copying over the correct spine-cpp folder.

Mario ha scritto

You have to regenerate the Visual Studio project on the other computer as well after copying over the correct spine-cpp folder.

Thank you for the answer!
I did as you recommended and now copy of the compiled with spine runtime 4.0 project are running correctly.

We discovered that on the computer with Windows 11 on it spine 4.2 beta are compiling correctly, but 4.0 runtime is not working. There is any way to try to compile stable runtime version on win11?

All versions of spine-ue4 compile on all Windows versions and Visual Studio versions from VS 2017 onwards. Please always post the exact error message you are getting. Otherwise we can only guess what the error could be.