question

adamczibere avatar image
adamczibere asked

Playfab Unity SDK syntax error

Installing the latest (2.155) SDK to Unity 2019 gives you syntax error.

 Assets\PlayFabSDK\Shared\Internal\PlayFabHttp\PlayFabUnityHttp.cs(122,14): error CS1026: ) expected
 Assets\PlayFabSDK\Shared\Internal\PlayFabHttp\PlayFabUnityHttp.cs(117,19): error CS1003: Syntax error, '(' expected

More details in this post: https://community.playfab.com/questions/64046/i-keep-getting-these-two-errors-in-my-console-and-1.html

unity3dsdks
10 |1200

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

1 Answer

·
Neils Shi avatar image
Neils Shi answered

As that post mentioned, you can install an older version of PlayFab or upgrade Unity. If you don't want to use the above two methods, you can replace the IEnumerator Post with this version https://paste.myst.rs/lq20m5ei . After my test, it works.

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.