PlayFab / PlayFabMultiplayerUnreal

PlayFab Online Subsystem Plugin for Unreal Engine
https://learn.microsoft.com/en-us/gaming/playfab/features/multiplayer/networking/party-unreal-engine-oss-overview
39 stars 35 forks source link

Trying to do a backport the 5.4 plugin to 4.27plus but running into engine error after fixing errors in the plugin #69

Open codeCat0012 opened 1 month ago

codeCat0012 commented 1 month ago

I'm working on a game that uses UE4.27plus and I am trying to back port the UE5.4 Playfab plugin to this older engine. I believe I have fixed the errors in the updated plugin code but once I got through all of those I had a odd error pop up that i am having trouble making sense of.

I am getting errors now in the engine code inside of StringConv.h (..\Engine\Source\Runtime\Core\Public\Containers\StringConv.h).

Here are the errors:

Severity    Code    Description Project File    Line    Suppression State
Error   C2672   'FGenericPlatformString::ConvertedLength': no matching overloaded function found    <edited out>    C:\UE4\Engine\Source\Runtime\Core\Public\Containers\StringConv.h    33  

and

Severity    Code    Description Project File    Line    Suppression State
Error   C2893   Failed to specialize function template 'TEnableIf<FGenericPlatformString::TIsFixedWidthEncoding<SourceEncoding>::Value&&FGenericPlatformString::TIsFixedWidthEncoding<T>::Value,int32>::Type FGenericPlatformString::ConvertedLength(const SourceEncoding *,int32)' <edited out>    C:\UE4\Engine\Source\Runtime\Core\Public\Containers\StringConv.h    33  

I can't see why these are coming up now when trying to build with the updated plugin. So I was wondering if these issues look familiar or if there was a back ported version of the 5.4 plugin I could take a look at to see if my changes may have caused this.

nassosterz-ms commented 1 week ago

Hello,

Apologies for the late response, we missed this. In general, we do not provide back compat support but you can revert the repository to this commit: 96d5db503205136f742d59ef398d276734a203b4 and try with that