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"

Reference variable value disappears in child BP instances after changing the name of the variable in the parent


For some time now I experience a problem with reference values in editable variables. Today I found out how to replicate this issue:

  1. Create BP_Parent.

  2. Create its child, name it BP_Parent_Child.

  3. Create editable Actor reference value in BP_Parent.

  4. Place a few BP_Parent instances and BP_Parent_Child instances on the level.

  5. Using picker choose some other actor in the default scene (some static mesh actor for example) and set this way all BP instances.

  6. Change the name of the reference variable in BP_Parent.

  7. Relaunch the editor (important!).

  8. After reopening the editor values of the variable will be set to None in all instances of BP_Parent_Child.

It looks like saving the level is not required for this issue to appear. Relaunching the editor is important, because sometimes this issue occurs just after renaming the variable and sometimes not, but always after reopening the editor. That made it hard to follow at first, because it is possible to work without problems after renaming without exiting the editor.

Product Version: UE 4.14
more ▼

asked Jan 05 '17 at 02:46 PM in Bug Reports

avatar image

299 19 138 193

avatar image Nox_A15 Jan 16 '17 at 12:19 PM

It seems the problem is more complicated than what I described above. My project is getting bigger and I start to notice more and more disappearing reference values even without touching BPs at all. I would say it is a major issue that makes reference variables unusable. Will attach more info if I learn anything new.

avatar image Nox_A15 Jan 18 '17 at 01:17 PM

I found a temporal workaround. It seems values disappear only if reference variables are inherited. So I created new variables for child BPs and set them as values of inherited variables on BeginPlay. Ugly fix, but it works and I don't need to set everything again and again returning to the project.

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

0 answers: sort voted first

Hey Nox_A15,

Thanks for the report. This is a known issue that was logged as JIRA UE-34488. It's been fixed internally and I just verified that it does fix the exact issue reproducible with your steps. The target fix is currently for 4.16.



more ▼

answered Jan 20 '17 at 08:45 PM

avatar image

41.1k 1009 183 493

avatar image Nox_A15 Jan 23 '17 at 09:41 AM

Thank you for the info TJ! Great to hear that. :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Be the first one to answer this question
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