I have Blueprint, in which I move the camera to a different position.
This is created through a custom event.
This part works correctly.
In addition, I have a Widget in which there is a button to move this camera, in the same widget file I have an object reference variable to call a function from the blueprint file (another file)
The problem is that I cannot select “Default Value” to point to the blueprint file.
Because in Outliner I have this blueprint as main and in it child widget and it is in the widget that there is no option for selecting the file.
The first picture shows what I mean.
At the same time, this is the aforementioned blueprint and under it is a widget.
Blueprint communicates with another file without any problem
Here we have a widget enabled, where I can not select the same option.
Due to which when I click on the widget button I get an error
“Blueprint Runtime Error: “Accessed None trying to read property As BP_Widget_MainMenu. Node: Camera Move Level Select Graph: EventGraph Function: Execute Ubergraph WBP Main Menu Blueprint: WBP_MainMenu”