map can't save with my UBlueprintFunctionLibrary

It complains exactly about what you’re doing;
You have a static function in a blueprint asset… You create an object inside that static function and then you use the ovject inside your level.

The engine can’t save the level, you use in the map objects referenced from outside the game world.
Everything in the game world must Instantiate, this is not what you’re doing in that static function.