Hey,
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:
- Created a new Blueprint Class derived from PrimaryDataAsset (BP_Conv)
- Openend it up and added some variables, nothing fancy here, only some Name-Variables. Save & Compile
- Created a new DataAsset (Rightclick - Miscellanous - DataAsset)
- Picked the derived Blueprint Class as the asset’s class (BP_Conv)
- Created a new Blueprint Class derived from Actor (BP_DialogueTest)
- Added a new Variable of the type BP_Conv and made it public
- Hit Compile & Save.
- Dragged an Instance of BP_DialogueTest into the Scene
- Assigned a reference of the previously created DataAsset to the Instance.
- Run the game, everything worked fine.
- Restarted the Editor
- The DataAsset isn’t referenced by the instance of BP_DialogueTest anymore.
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