I have changed my user widget to soft class reference, but every time I open this project, viewmodel blueprints will lost its parent class, it is said that “Blueprints cannot load because it is derived from an invalid class. Check to make sure its paarent class has not been removed?“
Is your project c++ based? If so make sure to launch it from your IDE otherwise custom c++ classes will be broken on load.
Yes it is C++ based, I will try it later.
To my knowledge, it seems that you need to first create a widget and then build a view model in order for it to work properly
你是使用官方的那个逻辑吗