PrimaryDataAsset Blueprint Object Reference lost after Editor restart
I worked on a Dialogue-System prototype and the DataAssets seemed to come in handy. But now I have a problem with this. I'm using UE 4.20.2 and I'm working in a blueprint project.
What I did:
I can reproduce this with my current project and with a fresh one. Is there any limitiation I missed or is this a bug? I really appreciate any help on this matter.
Thanks in Advance and best regards! Dekurian
asked Aug 23 '18 at 08:21 PM in Blueprint Scripting
Nevermind. Just found the solution to the problem after getting some sleep.
I flagged the derived class BP_Conv as abstract in the Class Settings, because originally I intended BP_Conv to be a base class for different kinds of conversations.
For testing purposes I created a DataAsset from the base class BP_Conv. Oddly enough this was no problem for the engine, which shouldn't be possible.
However referencing the instance of the DataAsset which was created from an abstract class lead to the problem I had. I simply removed the abstract flag, now everything works as intended.
Consider this post closed, but if you don't mind please consider having a look at the DataAsset Instancing behavior. An abstract class should not be able to be instanced like this.
Thanks in advance and have a good one
answered Aug 24 '18 at 12:19 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here