Download

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

0136ac1a8c6cfb0511282ad3a6f935a811ba8c3e.png

555b9bf63a2813562c8c5c7dd81f635acbeafc97.png

When I run standalone game it works fine

253d9df68fe64e839b28bbf684ee6de8.png

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

52df3d47750b484196f8620e529f3aaf.png

Thanks

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