Is there a way to run code only once on the server, I want to create a preset amount of teams to use for chat rooms (1 per location) but I'm struggling on both the code to create the teams once and also joining from Unity because I keep recieving this error;
The reason you're getting the error is due to the following:
A player can own more than one of the specified teamType, therefore joining by ownerId and teamType is not sufficient to uniquely identify the team to join. Specify the team by teamId instead.
How are you creating your teams? and what are the settings for the team type?
The reason you're getting the error is due to the following:
A player can own more than one of the specified teamType, therefore joining by ownerId and teamType is not sufficient to uniquely identify the team to join. Specify the team by teamId instead.
How are you creating your teams? and what are the settings for the team type?
Cheers, Omar
S
Saravana Kumar
said
over 3 years ago
Hi Lan,
I have been facing a similar issue. In which, I created the team as mentioned in the tutorial page (link).
with Max Membership per user is 0 & Max Ownership per user is Unbounded.
I can able to create a team from one user and when I tried to join the team which I created from the previous user gives me the same error.
FYI: I don't understand the (MaxMembership per user & Max Ownership per user) I'm getting this error ("teamType":"NOT_SINGULAR_USE_TEAMID") is mainly because of those parts. If so, please give me how to proceed with that, what values to give for that.
Regards,
Saravana Kumar
J
Jeff Amiel
said
over 3 years ago
bump. Same exact question
t
tang jiasheng
said
over 2 years ago
Just in case anyone is still encountering this problem, I managed to get it resolve by setting both Max Membership per user & Max Ownership per user to 1 :)
Ian Kettlewell
Is there a way to run code only once on the server, I want to create a preset amount of teams to use for chat rooms (1 per location) but I'm struggling on both the code to create the teams once and also joining from Unity because I keep recieving this error;
GS: RECV:{"@class":".JoinTeamResponse","error":{"teamType":"NOT_SINGULAR_USE_TEAMID"},"requestId":"636362617647336400_1"}
Join team request code:
The reason you're getting the error is due to the following:
A player can own more than one of the specified teamType, therefore joining by ownerId and teamType is not sufficient to uniquely identify the team to join. Specify the team by teamId instead.
How are you creating your teams? and what are the settings for the team type?
Cheers,
Omar
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstTech Support
The reason you're getting the error is due to the following:
A player can own more than one of the specified teamType, therefore joining by ownerId and teamType is not sufficient to uniquely identify the team to join. Specify the team by teamId instead.
How are you creating your teams? and what are the settings for the team type?
Cheers,
Omar
Saravana Kumar
Hi Lan,
I have been facing a similar issue. In which, I created the team as mentioned in the tutorial page (link).
with Max Membership per user is 0 & Max Ownership per user is Unbounded.
I can able to create a team from one user and when I tried to join the team which I created from the previous user gives me the same error.
FYI: I don't understand the (Max Membership per user & Max Ownership per user) I'm getting this error ("teamType":"NOT_SINGULAR_USE_TEAMID") is mainly because of those parts. If so, please give me how to proceed with that, what values to give for that.
Regards,
Saravana Kumar
Jeff Amiel
bump. Same exact question
tang jiasheng
Just in case anyone is still encountering this problem, I managed to get it resolve by setting both Max Membership per user & Max Ownership per user to 1 :)
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics