Regarding the question about UserWidget and ViewModel

In ue5.5.4,I created a class UMVVM_LoadSlot that inherits from UMVVMViewModelBase. After creating a blueprint version in Blueprint and adding it to a UserWidget, I set it to Manual and called the Set function, but an error appeared showing that GetExtension returned nullptr. Upon debugging, I found that the Extensions in the Loop are empty. Where is the error? How can I resolve this?

Sloved

For anyone else encountering this, I resolved this by enabling Create View Without Bindings from the ViewModels menu.

It appears that if all of your bindings are made using the links

They are not reflected in the ViewBindings menu, which causes this warning in the ViewModels menu

image

Enabling the check seems to work, but unfortunately doesnt appear to be polymorphic, so it can’t be enabled on a high level base widget and needs to be enabled for every widget that you want to use the MVVM for. At least in my case.