question

burst2flamegames avatar image
burst2flamegames asked

Disconnections occur when loading assets in Unity

We are having an issue where the game is loading assets. Players get disconnected from the Party lobby. It seems like while loading the asset the game freezes and it causes some timeout to occur. Is there a workaround for this? Can we increase the communication timeout duration? Can we run the essential functions on another thread?

We are working with the Unity SDK with Playfab Party. Thanks for your help!

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

·
Neils Shi avatar image
Neils Shi answered

In my tests, loading asset didn't cause players to disconnect. Could you try to load a smaller asset to see if the problem persists? If the game freezes and disconnections due to loading an oversized asset package, you may need to consider reducing the size of the asset or loading the asset in the background. And you also mention that you want to run the essential functions on another thread, since we are not experts in Unity, you may ask Unity Team for further assistance. In addition, PlayFab does not support increasing the party communication timeout duration.

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.

burst2flamegames avatar image burst2flamegames commented ·

Can I ask what the party communication timeout duration is?

0 Likes 0 ·
Neils Shi avatar image Neils Shi burst2flamegames commented ·

If you load a smaller asset, does the issue persist? If your game freezes due to loading too large assets, and after a while, the party times out as well, then it's not clear how long it will cause this timeout.

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.