I am executing a CloudScript request called StartRound. I've set `GeneratePlayStreamEvent` to true on my requests, for debugging purposes.
A single call to ExecuteCloudScript seems to be generating TWO of the exact same PlayStream events. Here are the two events I see in the Data tab of PlayFab's web ui:
First one:
{ "FunctionName": "StartRound", "PlayFabEnvironment": { "Application": "logicserver", "Vertical": "master", "Commit": "176b41f", "Cloud": "main" }, "CloudScriptExecutionResult": { "FunctionName": "StartRound", "ExecutionTimeSeconds": 0.0938777, "ProcessorTimeSeconds": 0.0, "MemoryConsumedBytes": 12472, "HttpRequestsIssued": 0, "APIRequestsIssued": 1, "FunctionResult": { "RoundId": "ef148303" }, "Revision": 184, "Logs": [] }, "EventNamespace": "com.playfab", "EntityType": "player", "SourceType": "BackEnd", "EventName": "player_executed_cloudscript", "Timestamp": "2020-10-27T02:26:10.6218461Z", "EntityId": "51D005C65A98499C", "TitleId": "6D4B7", "EventId": "519d14c6571744ac9115bdb16acede5e", "Source": "CloudScript" }
Second one:
{ "FunctionName": "StartRound", "PlayFabEnvironment": { "Application": "logicserver", "Vertical": "master", "Commit": "176b41f", "Cloud": "main" }, "CloudScriptExecutionResult": { "FunctionName": "StartRound", "ExecutionTimeSeconds": 0.0938777, "ProcessorTimeSeconds": 0.0, "MemoryConsumedBytes": 12472, "HttpRequestsIssued": 0, "APIRequestsIssued": 1, "FunctionResult": { "RoundId": "ef148303" }, "Revision": 184, "Logs": [] }, "EventNamespace": "com.playfab", "EntityType": "player", "SourceType": "BackEnd", "EventName": "player_executed_cloudscript", "Timestamp": "2020-10-27T02:26:10.6218461Z", "EntityId": "51D005C65A98499C", "TitleId": "6D4B7", "EventId": "519d14c6571744ac9115bdb16acede5e", "Source": "CloudScript" }
This is not a copy/paste error - these two PlaySteam entries are exactly the same. The EventId, the timestamp. Here's a screenshot of what I'm seeing: https://i.imgur.com/yqqdAlZ.png
So, if this is a double-logging bug, no biggie.
But, what's weird about this particular request is that it failed for me (at least from my client's perspective). In C# terms, I executed `PlayFabClientAPI.PlayFabClientAPI.ExecuteCloudScript`, and the error callback got executed.
I'm still trying to track down more information about the error my client received. My question is, is the double-logging possibly related to the error? Or is this just a completely independent bug?
Any help would be greatly appreciated. Thanks