This scenario is talking about a creation of a new user.
I am sending a login request from the client in unity. In the automation system I added a rule that would connect the entity created event to an azure function. Once I am in the azure function, I am initializing the player's entity object with some parameters. Back in the client I am waiting till there is a successful login result. Then I try to get the entity object back from the server.
On the legacy cloud script there were no issues achieving this as the login would wait for the cloud script to finish. However with the Azure functions such waiting does not exist, making me experience a race condition where the client can't get the data, even though it is already written in the PlayFab server.