Hi,
i just ran into a problem with PunUtility.RetrieveGameObject which does not return gameObjects marked with ObjectIdentifier if itemSlotID == -1. This seems to be a regression introduced with my update to UCC 2.2.6.
PunUtility.RetrieveGameObject:130
if the object identifier with id was found, it is not used.
My fix was to invert the logic and use it in case it was found,
i just ran into a problem with PunUtility.RetrieveGameObject which does not return gameObjects marked with ObjectIdentifier if itemSlotID == -1. This seems to be a regression introduced with my update to UCC 2.2.6.
PunUtility.RetrieveGameObject:130
Code:
...
if (!idObjectIDMap.TryGetValue(id, out objectIdentifier)) {
...
if the object identifier with id was found, it is not used.
My fix was to invert the logic and use it in case it was found,
Code:
...
if (idObjectIDMap.TryGetValue(id, out objectIdentifier)) {
gameObject = objectIdentifier.gameObject;
} else {
.....