issue UE-51408 states that blueprint widget references will be dropped if the create widget node is wrapped in a function. This has not been my experience in 4.18. I have a blueprint hud and event widgets created in functions are not garbage collected.