bridge.getCustomEntityServiceProxy()
-
I think when we use bridge.getCustomEntityServiceProxy() to get customEntityProxy and then we do customEntityProxy.readSingleton("PlayerData_Main") to get user data, we will get another person's data, which results in me accessing another person's data, What are the possible causes of this problem?
our code like this
-
Are you grabbing the proxy for another user?
The technique is described here - https://help.getbraincloud.com/en/articles/3631086-how-do-impersonate-a-user-using-the-braincloud-api -- and is commonly used in multiplayer scenarios when attempting to update the stats of other players after a match.
Could that be what is happening?
(Though admittedly it doesn't look like such from your code).
If you message into our support chat system with your appId and profileId (and timeframe for when this last happened) we can check our loggs and see if we can figure out what is happening.