question

Thai Thanh Phong avatar image
Thai Thanh Phong asked

Returning lots of data from Azure Function when Excuted Cloudscript,HOW TO GET GAMECONFIG DATA AFTER LOGIN (Issue: Returning lots of data from Azure Function)

Hi Playfab Supporter!

I'm a newbie in your system and i hope you will help me improve this.
I have GameConfigData in Server. After logged, I have get all config data from game and and send it to client. But the problem is the data is really big to handle. Can you tell me what should i do in this case? I have set GeneratePlayStreamEvent = false but log issue is "Returning lots of data from Azure Function".

CloudScript
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

·
Sarah Zhang avatar image
Sarah Zhang answered

Do you mean GameConfigData is an Azure Function name? You set a rule to let the login event trigger the execution of the function -GameConfigData, is it right? Could you please clarify whether clients can obtain the data successfully or not? Where did you see this error? Did you execute this function manually on Game Manager and see this error? If your case is like this thread - https://community.playfab.com/questions/38433/returning-lots-of-data-from-azure-function.html. You can refer to this answer - https://community.playfab.com/answers/48869/view.html to avoid the issue.

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.