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"

Adding uproperty to parent resets class defaults of children

Every time I add a uproperty to a parent class, all sub classes are reset to the parent default values.

This is using a first person project. Adding any form of value with the EditAnywhere tag completely breaks the FirstPersonCharacter originally setup by the editor as all values seem to be set to default.

Using C++.

EDIT: Even the subclass default values are deleted too.

EDIT: https://issues.unrealengine.com/issue/UE-51994 issue here, please vote up

Product Version: UE 4.18
more ▼

asked Dec 27 '17 at 11:15 PM in Bug Reports

avatar image

6 1

avatar image chrisray1985 Oct 10 '18 at 02:45 AM

I have this problem in 4.19. Whenever they get around to fixing this, will it persist in the current engine version but not in the newer versions or will it be fixed in all versions of the engine?

avatar image xlar8or Oct 10 '18 at 09:45 AM

I think it's already fixed in 4.20.

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

2 answers: sort voted first

I am also encountering this problem when changing/adding properties or changing constructor. I could solve this by not using hot reload when doing so.

That means if I do these changes I close Unreal Editor and compile my code. When I start the editor after that the values aren't reset.

You should be safe if adding variables or function which are not marked by UPROPERTY or UFUNCTION (except Constructor)

more ▼

answered Dec 27 '17 at 11:34 PM

avatar image

870 46 44 80

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

Hey there, i've already submited this bug when 4.18 was released, let's hope they fix it quickly. This only happens with Hot reload, so you have to constantly restart the engine if you change a lot of things in the header file. This is the issue file they gave me.

more ▼

answered Dec 28 '17 at 10:30 AM

avatar image

6k 161 129 304

(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