mordentral / AdvancedSessionsPlugin

Advanced Sessions Plugin for UE4
https://www.vreue4.com
MIT License
595 stars 140 forks source link

Compilation issue #44

Closed yigitmesut closed 2 years ago

yigitmesut commented 2 years ago

https://github.com/mordentral/AdvancedSessionsPlugin/blob/fd33fc34a502e838f0d0a6e1e8631b21b8bf44e5/AdvancedSessions/Source/AdvancedSessions/Private/LoginUserCallbackProxy.cpp#L68

Fixed by changing FUniqueNetIdRepl by FUniqueNetIdPtr

mordentral commented 2 years ago

What engine version are you on? Mismatching versions or compiling for UE5 Main will cause compilation issues.

yigitmesut commented 2 years ago

I'm on 4.27.2

Got this error with Visual Studio Community 2019 (16.11.16) 'void ULocalPlayer::SetCachedUniqueNetId(FUniqueNetIdPtr)' : impossible de convertir l'argument 1 de 'FUniqueNetIdRepl' en 'FUniqueNetIdPtr' ...\Plugins\AdvancedSessions\Source\AdvancedSessions\Private\LoginUserCallbackProxy.cpp 78

mordentral commented 2 years ago

Where did you get your copy?

The 4.27 branch has had that corrected for 28 days. It only existed for a day or so before I noticed.

yigitmesut commented 2 years ago

Oh I see ... I take the master branch instead of 4.27-Locked :(