Announcement

Collapse
No announcement yet.

Problem getting correct date and time for a chat message in packaged game

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem getting correct date and time for a chat message in packaged game

    Hello basically I have a message structure that contains username, message, time message was sent etc

    Everything works fine except the date and time displays an incorrect value.

    The only time it works is in STANDALONE

    I don't think it could be a replication issue because if the structure wasn't replicating as intended then the message text and username etc would be wrong but these values are correct

    Click image for larger version

Name:	27a6d90c3ecd4825ac65e00e46980cf4.png
Views:	1
Size:	150.7 KB
ID:	1216130

    Click image for larger version

Name:	2be70ee18ee54b6d98f147b9b1fe2277.png
Views:	1
Size:	138.8 KB
ID:	1216131

    When I run standalone game it works fine

    Click image for larger version

Name:	253d9df68fe64e839b28bbf684ee6de8.png
Views:	1
Size:	53.5 KB
ID:	1216132

    But if I run in editor or in packaged game it gives me a incorrect value

    Click image for larger version

Name:	52df3d47750b484196f8620e529f3aaf.png
Views:	1
Size:	94.8 KB
ID:	1216133

    Thanks
    Last edited by EniGmaa; 04-06-2017, 05:25 AM.

    #2
    Oh just found out that date Time Variables don't have any UPROPERTY values, so they won't replicate. Which is what's causing the problem I think

    Comment

    Working...
    X