Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

[bug report] cannot create override for variable on rep notify handler defined in parent class.

  • Create empty project;

  • Create actor blueprint "parent";

  • Create actor blueprint "child" inherited from "parent";

  • Add boolean var "test" to parent;

  • Make "test" repNotify;

  • Click override function in "child";

Result: Can't find OnRep_test function to override in "child"

Maybe could be related to this bug report: https://answers.unrealengine.com/questions/663946/bug-report-cannot-override-custom-event-defined-in.html

Product Version: UE 4.17
more ▼

asked Aug 10 '17 at 08:32 PM in Bug Reports

avatar image

16 1 2 7

avatar image ilibis Aug 23 '17 at 02:37 PM

Any update? Still can reproduce on 4.17.1

avatar image nrossol Nov 02 '17 at 07:39 PM

Can confirm bug is still present in 4.18. In blueprints, RepNotify functions (usually starting with OnRep_) never seem to show up in the override dropdown

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first


For a potential work-around check the Network_Features Content Examples Map, Example 1.4 - It looks like they use a RepNotify variable inside of a normally created function (normally created function has inputs and outputs)

more ▼

answered Feb 27 '18 at 08:22 PM

avatar image

Alex O ♦♦ STAFF
2.6k 4 8 10

avatar image iamisandisnt May 09 '18 at 04:12 PM

wow, thank you for this suggestion! To clarify for others: create a RepNotify variable on your parent class. Now COPY the name of the RepNotify function and DELETE it. Now make a NEW FUNCTION and PASTE the name to be exactly the same as what the RepNotify function would have been. Leave it alone and go to your child actor to test!

avatar image soctty Sep 16 '18 at 10:34 PM

This is still present in 4.20.2, but thank you for the workaround, guys.

Edit: A safer way to work around this might be to create a normal function (e.g. "notify_VariableName") taking the repNotify variable as an input in the parent class, calling that function in the parent's Notify and passing the new value, then overriding/extending the new "notify_VariableName" function in the child class.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The work around doesnt work in 4.22 so it would be really nice if Epic could add overrides for OnRep functions

more ▼

answered May 23 '19 at 01:06 PM

avatar image

81 5 7 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question