Actor BP works in standalone/launch but not packaged build

I have a multiplayer RTS game using a typical listen server/client setup. The multiplayer aspects work fine in terms of clients connecting and replication of the buildings and units (RTS style game). All the player controls are handled as RPC server calls which control the units movements and tasks. This part is all working fine, even in the packaged build.

What stops working in the packaged version is the unit tasks from the unit BP (which is server side via authority switch) like acquiring targets in sight range. Suddenly you can walk right beside a neutral or enemy unit and there is no reaction.

Normally of course I would debug the situation by watching the blueprints and see what is happening but this is only happening in the windows package build. The “play in editor” / “standalone” / “launch” versions all work as expected.

Any ideas what I am doing wrong?

I turned off blueprint nativize in project settings and it fixed the problem.