UTF8String error in SDK_v3-2-0-0_SDK
Options
I upgraded my all client to 3-2-0-0
I can send and receive UTF8String well at older version.
But now I can't send and receive any UTF8Strings.
Client just freezes and breaks at
ExitGames::Common::UTF8String::utf8sizeForLen function.
It can be easily tested with like this.
In Photon demo_realtime's CPhotonLib.cpp's sendData function
// switch over different data types
switch(eventCode)
{
// game-related position information of local player
case(EV_MOVE):
ev.put(STATUS_PLAYER_POS_X, mpSample->player[0].x);
ev.put(STATUS_PLAYER_POS_Y, mpSample->player[0].y);
ev.put(STATUS_PLAYER_NAME, "아이폰");
break;
case(EV_PLAYERINFO):
ev.put(STATUS_PLAYER_NAME, mpSample->player[0].username);
ev.put(STATUS_PLAYER_COLOR, mpSample->player[0].getColor());
break;
}
if I add one line of sending UTF8String program freezes.
Please, fix this quickly, it's urgent.
Thanks.
I can send and receive UTF8String well at older version.
But now I can't send and receive any UTF8Strings.
Client just freezes and breaks at
ExitGames::Common::UTF8String::utf8sizeForLen function.
It can be easily tested with like this.
In Photon demo_realtime's CPhotonLib.cpp's sendData function
// switch over different data types
switch(eventCode)
{
// game-related position information of local player
case(EV_MOVE):
ev.put(STATUS_PLAYER_POS_X, mpSample->player[0].x);
ev.put(STATUS_PLAYER_POS_Y, mpSample->player[0].y);
ev.put(STATUS_PLAYER_NAME, "아이폰");
break;
case(EV_PLAYERINFO):
ev.put(STATUS_PLAYER_NAME, mpSample->player[0].username);
ev.put(STATUS_PLAYER_COLOR, mpSample->player[0].getColor());
break;
}
if I add one line of sending UTF8String program freezes.
Please, fix this quickly, it's urgent.
Thanks.
0
Comments
-
Thanks for the reproduction case. We will look into this issue.0
-
We could reproduce it and will try to fix this early next week.0
-
Hi. We have just released new SDKs, including a fix for this issue:
http://blog.exitgames.com/2013/03/3-2-0 ... d-windows/
PS: Sorry, that it took us that long.0