AActor::AttachmentReplication is inaccessible
AActor::AttachmentReplication is declared as private but OnRep_AttachmentReplication is virtual so the function can not be overridden and use the AttachmentReplication property as it is inaccessible to inherited classes. Please change the AActor::AttachmentReplication property to be Protected from Private.
asked Sep 20 '18 at 10:30 PM in C++ Programming
You got something wrong, if function is virtual you can override while without it you only hide function
will do the thing
If you really want to change access you can do that yourself by editing engine source code or submit push request but then you need to make solid reasoning behind it. In C++ if varable is private that means there diffrent way to accessing it via function which work like gate keepers, you can at least red that variable via https://api.unrealengine.com/INT/API/Runtime/Engine/GameFramework/AActor/GetAttachmentReplication/index.html
Follow this question
Once you sign in you will be able to subscribe for any updates here