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...

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login