get asset object by path in standalone

Hello,I want to load UDataAsset by path to instantiate some objects instead of using UDatatable like Picture2.
But after package or play standalone, the path becomes invalid ,so I have to add a variable to store the soft reference which is against my intent because I need another table to the relationship of TaskNumber and Task’s DataAsset.