torus

Hello,

I tried to compile the plugin with UE5, but I got following error:
>E:\study\SpineUe5Test\Plugins\SpinePlugin\Source\SpinePlugin\Private\SSpineWidget.cpp(72): error C2664: 'void spine::Skeleton::getBounds(float &,float &,float &,float &,spine::Vector<float> &)': cannot convert argument 1 from 'T' to 'float &'
1> with
1> [
1> T=double
1> ]
1>E:\study\SpineUe5Test\Plugins\SpinePlugin\Source\SpinePlugin\Public\spine-cpp\include\spine\Skeleton.h(183): note: see declaration of 'spine::Skeleton::getBounds'
Is there any workaround for it?

I'm using following versions:
  • UE5.0.1
  • Visual Studio 2019 16.11.13
  • Spine runtime 4.0 branch latest as of today (14af269a25c6c7a47e419f1f7511bf6ee594595c)

Thanks,
Toru
torus
  • Postovi: 10

Mario

Sorry, we haven't checked compatibility with UE5 yet. I'll try to get to it this week. See https://github.com/EsotericSoftware/spine-runtimes/issues/2071
Avatar
Mario

Mario
  • Postovi: 3043

torus

OK, Thanks! I'll keep an eye on it :)
torus
  • Postovi: 10

martoof

yes please ue5 release !
martoof
  • Postovi: 10

Mario

UE5 is supported now in both the 4.0 and 4?1-beta Spine Runtimes branches.
Avatar
Mario

Mario
  • Postovi: 3043

Scionate

Thanks for this. I was just stopping by the forums to check on UE5 compatibility for the runtimes as I had tried moving it over to 5 a few weeks ago and ran into some issues with importing that I was going to try and fix next week. Only commenting now to let you know there are at least a few of us out there using UE5 with it.
Avatar
Scionate
  • Postovi: 10

Mario

Awesome. Please report back if you find any more UE5 related issues. I test drove it quite a bit, and it appears everything is working as intended.
Avatar
Mario

Mario
  • Postovi: 3043


Natrag na Runtimes