Child actor component data loss
Good afternoon everyone,
I have a blueprint actor (our main character class) that has child actor components. I have template data set for the child actors to override the child actor defaults. However recently, we have run into a very frustrating issue.
This was our component before:
This is our child actor component now:
When I change the Child Actor Class to None, and then back to Holder, I can see the template defaults , but then I have to set the values again . As well, when I save and restart the editor, the problem is back, and I have no default options in the pane anymore.
I did a bit of digging to at least figure out when this issue occurred and I found the revision in which this was introduced so I performed a blueprint diff:
What is interesting about this diff are that the values of the properties have not actually changed. However, it is clear to me that this diff has occurred because of the following code change in its native parent class:
Its not even the same child actor component (this one is in c++) but my concern is that all the child actor template data is clumped in the binary asset. Can anyone clarify if this is the case? Is it just a coincidence that I removed that line from the constructor and now I'm having problems? Now it seems my blueprint asset is corrupt and I cannot modify the default values in my child actor component. Has anyone run into this?
When examining the property matrix, the child actor template variable is set to none. When resetting the class to Holder, I can get it to be set properly, however when saving and restarting the editor, it will be set back to none. Interestingly enough, if I choose any other class and then save/restart editor, the child actor template will be set correctly.
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.
answered Aug 15 '17 at 05:51 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here