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.
-
@Paul-Winterhalder
appId 14402
profileId 14b8cd98-12fe-4afe-8039-085936a42faa
time 2024-11-14 22:21:16+08:00
thanks for your help -
Hi @kinco-h - I assume (hope) you got the info you needed from our support folks?
Hint - you access chat support by clicking on the "Ask Support" button in the top right-hand corner of the Design Portal...