When compiling, functions are not compiled that work in the editor

Hello group,
Someone has happened to him that when he is running his game in unreal editor, it works great, but when he packs the project, strange things happen and even mechanics don’t run.