I created a simple Data Asset with a few vars.
This Data Asset is used in a function as a parameter and an array.
It works fine actually if I try to use it, but once I restart the engine all uses of the DA change to “Object references” which breaks the whole Blueprint: Variables of the Data asset and Arrays of the Data Asset are suddenly objects and all node connections too, which then in turn cause errors obviously.
Here a simple function for example - before and after an engine restart:
I’ve tested this in a clean project using a Blueprintable Data Asset C++ class as my variable type, and I’m not seeing the same results. When I restart the project, my data asset variables are not being reset to Object References.
Could you reproduce this issue in a clean project and provide me with a detailed list of repro steps I can use to see the issue on my end?
I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread.
For any new issues, please create a new Answerhub topic.
I created a clean project with the same Data Asset and a pretty much equal Blueprint with not problems after a restart.
I “fixed” it in my other project by loading the project’s module earlier: Changed LoadingPhase from “Default” to “PostConfigInit” but this causes problems with other plugins.
Unfortunately, without a repro case, we are unable to take any further action on this issue. If you are able to determine a repro case in the future, feel free to leave a comment to reopen this thread.