question

name368368@gmail.com avatar image
name368368@gmail.com asked

GetLeaderboard request crashing engine

Hello,
I have problem but im not 100% sure what can cause that... (if engine or playfab)

Im using unreal engine 4.11 with blueprints and here is
Error log:

Access violation - code c0000005 (first/second chance not available)

UE4Editor_PlayFab!UPlayFabJsonObject::GetObjectField() [c:\program files\epic games\unrealtournamentdev\engine\unrealblueprintsdk-master\playfabclientsdk\exampleproject\plugins\playfab\source\playfab\private\playfabjsonobject.cpp:304]
UE4Editor_PlayFab!UPlayFabClientModelDecoder::decodeGetLeaderboardAroundPlayerResultResponse() [c:\program files\epic games\unrealtournamentdev\engine\unrealblueprintsdk-master\playfabclientsdk\exampleproject\plugins\playfab\source\playfab\private\playfabclientmodeldecoder.cpp:409]
UE4Editor_PlayFab!UPlayFabClientModelDecoder::execdecodeGetLeaderboardAroundPlayerResultResponse() [c:\program files\epic games\unrealtournamentdev\engine\unrealblueprintsdk-master\playfabclientsdk\exampleproject\plugins\playfab\source\playfab\classes\playfabclientmodeldecoder.h:20]
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_PlayFab!TMulticastScriptDelegate<FWeakObjectPtr>::ProcessMulticastDelegate<UObject>() [c:\program files (x86)\epic games\4.11\engine\source\runtime\core\public\uobject\scriptdelegates.h:459]
UE4Editor_PlayFab!FOnPlayFabClientRequestCompleted_DelegateWrapper() [c:\program files\epic games\unrealtournamentdev\engine\unrealblueprintsdk-master\playfabclientsdk\exampleproject\plugins\playfab\source\playfab\classes\playfabclientapi.h:17]
UE4Editor_PlayFab!FOnPlayFabClientRequestCompleted::Broadcast() [c:\program files\epic games\unrealtournamentdev\engine\unrealblueprintsdk-master\playfabclientsdk\exampleproject\plugins\playfab\source\playfab\classes\playfabclientapi.h:17]
UE4Editor_PlayFab!UPlayFabClientAPI::OnProcessRequestComplete() [c:\program files\epic games\unrealtournamentdev\engine\unrealblueprintsdk-master\playfabclientsdk\exampleproject\plugins\playfab\source\playfab\private\playfabclientapi.cpp:7927]
UE4Editor_PlayFab!TBaseUObjectMethodDelegateInstance<0,UPlayFabClientAPI,TTypeWrapper<void> __cdecl(TSharedPtr<IHttpRequest,0>,TSharedPtr<IHttpResponse,1>,bool)>::Execute() [c:\program files (x86)\epic games\4.11\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:760]
UE4Editor_PlayFab!TBaseUObjectMethodDelegateInstance<0,UPlayFabClientAPI,void __cdecl(TSharedPtr<IHttpRequest,0>,TSharedPtr<IHttpResponse,1>,bool)>::ExecuteIfSafe() [c:\program files (x86)\epic games\4.11\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:850]
UE4Editor_HTTP
UE4Editor_HTTP
UE4Editor_HTTP
UE4Editor_HTTP
UE4Editor_Core
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll

Behind this error is so strange behavior, ill try to explain that:

I have 3 levels on gameplay map, when im downloading leaderboard from first level and then from others, everthing works properly but if i select second or third level before first and then i try to get leaderboard score, engine crash...

Could someone help me please? Thanks for any answer.

 

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1807605288 avatar image
1807605288 answered

We've released several bugfixes and minor updates since this request.
Our Unreal Blueprint sdk (https://github.com/PlayFab/UnrealBlueprintSDK) is tested for both 4.9 and 4.11, specifically using our ExampleProjects released with the sdk.

Among this testing, we've verified that Login/Registration, CloudScript, and Leaderboards are verified working, either with examples published with the SDK or, in the case of Leaderboards, an example that mirrors the published ones.

And additionally, we've verified that android builds for this sdk work as well, with the same testing.

Please feel free to contact us if you find any additional problems.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brendan avatar image
brendan answered

So that everyone has the info we've already discussed via email:

We haven't fully tested our Unreal SDKs with their 4.11 yet, so it's possible there is an issue. If you can reproduce this in 4.9, that would be good to know. In the meantime, I've asked our tools team to investigate this issue and respond.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1807605288 avatar image
1807605288 answered

Is this crash in windows or on a phone device (please specify)?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.