question

singularitylab avatar image
singularitylab asked

Issue with LoginWithGameCenter in Unreal Engine 4

Blueprint version of LoginWithGameCenter expects Timestamp as int32. This timestamp is received as int64 from "generateIdentityVerificationSignature" and conversion to int32 will cause an overflow.

Authenticationunreal
3 comments
10 |1200

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

Seth Du avatar image Seth Du ♦ commented ·

According to the official documentation: https://api.playfab.com/documentation/client/method/LoginWithGameCenter. The TimeStamp should be a string in the request, have you tried to convert it?

0 Likes 0 ·
singularitylab avatar image singularitylab commented ·

@SethDu You can't convert it manually. It's implemented as integer in a strictly typed visual programming language called 'Blueprints' that is embedded into Unreal Engine 4. I've succesfully resolved this issue by stepping inside SDK's code, and changing bindings for this call. But nonetheless that is a mistake inside SDK, and official documentaton proves it.

0 Likes 0 ·
Seth Du avatar image Seth Du ♦ singularitylab commented ·

Thanks for the feedback, I will report to our team.

0 Likes 0 ·

0 Answers

·

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.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]