[BUG] Having a map inside a replicated struct will crash unreal engine
This is on 4.16.2 I added a map to a struct to see if i could some how replicate a map. my map is using a enum for its key and a float value. on take damage i break my struct and do a find from the map from there i do some math to subtract damage and then add it back into my map. this works fine in single player mode but as soon as i do it in multiplayer the whole thing crashes. Is this cause maps can not be replicated no matter what or something else? would like it if maps could be replicated would make code so much cleaner.
I don't believe that there is replication support for maps at this time. However, if you'd like to provide your crash information (full callstack and logs) I'd be glad to take a look and see if this is something that warrants a ticket.
answered Jul 05 '17 at 07:56 PM
Sean L ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here