Blueprints not working in package project but only in the editor

When using the spawn actor blueprint, it works in the editor but when I package the project for Windows 64, the actor doesn’t spawn. Any help on this would be greatly appreciated.

Unreal 4 version: 4.26!

try to deselect For Distribution and then set the configuration to Development, and see if there any hint from the log after packaging.

Thank you for your reply. I have already put it in development but I am unsure what I am looking for in the logs.