x

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"

[BUG] Character Actor Components variables set from parent's details tab do not actually take effect

This issue is quite simple to explain and reproduce:

  1. Create two blueprint BP_Parent and BP_Child

  2. In BP_Child add for example and integer variable called myInt and give it any value you want.

  3. Open BP_Parent and add BP_Child as a Child Actor Component of BP_Parent (dont forget to set the Child Actor Class on the new child actor component)

  4. In BP_Parent select the newly added BP_Child from the Components tab, go to that component's Details tab and find the Default section (I am not sure why but I found that it's not allways present for every child actor blueprint added, so I've added a screenshot from my case to show which section I'm refering to).

  5. Find myInt variable and change its value something different.

  6. Add a print function to BP_Child that simply prints out to screen and log the value of myInt.

  7. Put PB_Parent into any level and start the game.

Expected Result: Print shows the value configured from the BP_Parent blueprint.

Actual Result: Print shows the default value configured in BP_Child.

It's obvious something isn't working right. If this feature is supported it should take the values configured from the parent.

This is a very useful way when you have multiple instances of BP_Child inside BP_Parent and you want to assign different values to specific child actors.

If you have any further questions please let me know.

Jake.

Product Version: UE 4.15
Tags:
cac_bug.png (40.5 kB)
more ▼

asked Apr 24 '17 at 11:57 AM in Bug Reports

avatar image

Jake1337
79 3 11 10

avatar image Rudy Q ♦♦ STAFF Apr 24 '17 at 07:06 PM

Hello Jake1337,

I followed the steps above, however I was unable to reproduce this issue on our end. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?

  2. If so, could you provide any steps that may have been left out of your original post?

  3. Could you provide screen shots of any settings/blueprints that may be involved?

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

1 answer: sort voted first

Hey Rudy thanks for the quick reply!

I am positive it happened in our production product as it caused a real issue with game logic. I've since implemented a work around that allowed us to get the desired behavior and we've been fine since.

However (!) I was unable to replicate this issue in a clean project. When I returned to our recent production version to try and replicate it again there it simply worked as expected and I did not encounter the issue.

So lesson learned is to always go and replicate the issue in a new project (makes sense) before opening a bug report :) Thanks for reading the post and I apologize for the false alarm.

Jake.

more ▼

answered Apr 26 '17 at 09:00 PM

avatar image

Jake1337
79 3 11 10

avatar image Rudy Q ♦♦ STAFF Apr 27 '17 at 07:04 PM

I am happy to hear that you have a workaround and that this issue in no longer occurring outside of the original setup. I have converted your last comment to an answer. If this issue returns please feel free to reopen this issue with any additional information you may have about how we can reproduce this on our end and I will be happy to help.

Make it a great day

(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