I reproduced exact same issue on a fresh 4.7.6 project without starter content. I’m downloading 4.8.1 right now to verify whether it works there or not.
RepNotify is not called on host in project attached below. All you have to do is to launch it as a single player, no need to form connections or anything else. map you launch firstly sets variable gently and prints prove it works well, then it proceeds to set variable through a macro and it fails although value is changed.
You can also check whether it works with a function instead of macro or with ‘Assign’ node instead of ‘Set val (by ref)’. For me it’s broken in all those cases.
From code it looks like at first way of setting variable, there is simply added a virtual box in blueprint to directly call repnotify for that variable, which is not happening in second case, simply because repnotify is not defined inside macro but level above (blueprint calling macro) and it cannot find it thus it doesn’t call it.
I did find a workaround, I simply output variable from macro and use regular set outside of it, which is what you can do, macro is already prepared for that. When you add Set behind macro second way also works, although it’s quite problematic solution - expect everyone to remember to put set behind your macro so it works.
Thank you for quick reply.
UPDATE: 4.8.1 also fails to call RepNotify on host. Migrated project to new version, ran it, same problem.