question

boas avatar image
boas asked

Massive lag spike when trying to log in Unity 2021

Previously this didn't happen, but now there is a lag spike of 5 seconds. It is probably when logging in.

It only happens when logged into a specific account

This is the profiler window

unity3d
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

·
Xiao Zha avatar image
Xiao Zha answered

You can use Postman to test the account with delayed login to rule out the influence of the code. In addition, have you request playerinfo when logging in? If playerinfo is requested, it may have some impact on the delay.

2 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.

boas avatar image boas commented ·

Sorry for the late response. It is a player account. The tile ID is 788A2 and the PlayFabID is FBBF27AEE955E423

0 Likes 0 ·
Xiao Zha avatar image Xiao Zha boas commented ·

Sorry for the late reply. What is the result of testing with postman? Is the API calling normally?

0 Likes 0 ·

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.