I am working on a game where I wanted to incorporate the MVVM subsystem. I struggled quite a bit to get it work in Blueprints. The issue I was having was that the MVVM subsystem wasn’t being initialized in the Game Instance Blueprint before it was being called. I am not using any C++ in this project so I needed a solution.
My eventual work-around was this:
-
I created an event in the Game Instance BP which would setup all of the View Models and add them to the subsystem.
-
In the Game Mode BP I call the event inside the Game Instance BP.
This worked because the Game Mode BP is executed after the Game Instance BP so the MVVM subsystem is already initialized and ready to be used. I hope this helps anyone that is running in the same issue.