Make sure your game mode in your project settings => “maps and modes” set the default player correctly to BP_Bot
It should pass the cast correctly
overlap
end overlap
As for setting the widget reference inside of a blueprint function library, you need to make a function that takes in an input of type widget then you need
Revised hud and functions to work with a bp library
Hud:
Activate
Deactivate







