OnRepNotify fires before eventBeginPlay
I have the following situation: I have a bool variable (in a blueprint called BP_Lights) that is set to repNotify that the first user is setting from false to true. Then the second player is joining and the repNotify for that bool variable is firing BEFORE the EventBeginPlay in the BP_Lights. And after the repNotify is executed, then the EventBeginPlay fires.
Should this be the other way around - EventBeginPlay > repNotify?
I'd like someone to explain why is this happening. Thanks
asked Jul 30 '18 at 03:31 PM in Blueprint Scripting
This is how it is supposed to work. You can handle your logic in BeginPlay and be assured that the variable has been replicated by then.
answered Oct 11 '18 at 07:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here