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"

Actor component's variable is not replicated if change value function/event was triggered from another object

To reproduce:

  1. Create an actor component and attach it to your character

  2. In the Actor component class create a variable of any type and set replication to "Replicated"

  3. In the Actor component create a function or event which "sets" variable value to any different from initial

  4. In the Actor class add that Actor componetn

  5. In the Actor class bind a button to trigger the event, which is set to "Run on server" and triggers the function/event of actor component to change actor component's variable value

  6. Start a game and press that button

  7. Observe the actor component value

Actual result: Value is changed on server, but not updated on client

alt text alt text

Product Version: UE 4.12
replbugblue.png (196.9 kB)
replbuglog.png (79.0 kB)
more ▼

asked Aug 10 '16 at 08:01 PM in Bug Reports

avatar image

1 2 3

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

1 answer: sort voted first

Hello ARG_ON,

After looking over your report, I have found that this is working as intended. The actor component needs to be set to replicate. I have provided an example below. I have also provided a link to the public tracker that has a report that was submitted for this feature to exposed to in the class defaults for actor components.

Link: https://issues.unrealengine.com/issue/UE-34433


alt text

Make it a great day

more ▼

answered Aug 10 '16 at 09:12 PM

avatar image

Rudy Q ♦♦ STAFF
47.2k 545 132 525

(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