I'm trying to take a photo in my package game. It works in the source file but not in the .exe (package game) PLEASE HELP!

I’m trying to take a photo in my package game. It works in the source file but not in the .exe (package game).
I am currently using 4.19 UE4.
I will be greatfull if someone can help me.
My camera activates in the widget, i would like to make a foulder in the package game soo the image can save there