CAS Update Failed - Error Message Instead of Log Or Warning

Options
Hi,

I am receiving an error log when the SetCustomProperties call (correctly) fails due to the CAS params. As far as I am concerned, this should be a Log or Warning at most, am I missing something?

Operation failed: OperationResponse 252: ReturnCode: -2 (CAS update failed: property='st' has value='1059904.436'). Parameters: {} Server: GameServer

Background Info:

I am making use of the expectedValues HashTable when using SetCustomProperties. I expect it to fail for 3 out of my 4 players, as I only want the first to call SetCustomProperties to actually set the value.

Cheers,

Niall

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @nindim,

    Thank you for your feedback and suggestion.
    I see your concern yes.

    This is the same thing as the MatchNotFound error of OpJoinRandom. Some customers complained about why we log this as error or even warning.

    It is a choice we need to make.
    Please feel free to modify the code and comment that line if you want.
    I know it's not convenient enough as updating PUN will overwrite your changes.

    Maybe we could think of a good way to handle such things in the future but it is not a priority for us.