Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

UserId not set

$
0
0
Hello.
I testing connection to photon server.
and Getting an error in Photon Control Log

2017-06-18 00:30:38,454 [7] WARN Photon.Hive.HiveGame - JoinApplyGameStateChanges: Game 'UE-MyWFT-room1' userId '' failed to join. msg:Join failed: UserId is not set, checkUserIdOnJoin=true expects a UserId. -- peer:GameClientPeer: PID 85, IsConnected: True, IsDisposed: False, Last Activity: Operation 226 at UTC 18.06.2017 7:30:38 in Room UE-MyWFT-room1,

in app

MutableRoom& myRoom = mLbc->getCurrentlyJoinedRoom();
const JVector& players = myRoom.getPlayers();
.....

const Player* p = players[i];

result = result + "\r\n " + FString::Printf(TEXT("[ %d ]"), p->getNumber()) + p->getName().UTF8Representation().cstr();





return this:


i.e. userid not set



Viewing all articles
Browse latest Browse all 1557

Trending Articles