update SDK and can't receive events with actorprops now

Options
Cuze
edited June 2011 in Native
Hey,

we are now working on our game for over a half year and updated the Photon SDKs.
We have now a really strange error. The iPhone is getting all events which the server is sending except a event with the actorproperties. It doesn't work with the joinevent and doesn't work with customevents. Any suggestion why?

Thanks for your replies

Comments

  • Cuze
    Options
    Additional info:
    We are not using actorproperties sent by a client. Our Properties are coming from a Database. This worked with the old version, but not with the newest one.

    The simple line we are changing is this one:
    if(joinOperation.BroadcastAactorProperties)
    {
        //joinEvent.ActorProperties = joinOperation.ActorProperties
        joinEvent.ActorProperties = joinOperation.CurrentActorProperties
    }
    
    The CurrentActorProperties are set before from the server

    This works with the old version, but now the client doesn't get a event from a server. All other events without this Hashtable are working
  • Kaiserludi
    Options
    Hi Cuze.
    We will investigate the issue.

    Can you give us the exact version numbers of the Client and Server, it was working with, and the ones, you upgraded to?
    Have you tested to run with an old server and a new client and vice versa to get to know which of the both upgraded has broken things?

    Can you give us some more useful code to see, what you are doing, so we can try to reproduce it?
    You can PM it to me, if you do not want to make it public.
  • Tobias
    Options
    We checked the code and the ActorProperties are still part of the event (as in the older version).

    Please verify that the data to put into joinOperation.CurrentActorProperties is actually set and make sure all values are serializable and have non-null values.

    On the client side: you could output all keys of the event to verify if key (byte) 14 is there. This is the value of LiteEventKey.ActorProperties (C# but similar in C). The event's value of key 14 should be the hashtable of values you are looking for.

    Please, let us know how these checks turn out.