Why doesn't Lua script work after building?

I’m trying to package a game with Lua scripts, and the scripts run fine in the editor but do not work after packaging. I’ve seen this error in the log -

Found 1 script generator plugins.
MainFrameActions: Packaging (Linux): mono: [2016.03.27-16.49.38:558][ 0]LogCompile: Unable to determine output directory for ScriptPlugin. Cannot export script glue with ‘Lua Example Code Generator Plugin’
MainFrameActions: Packaging (Linux): mono: [2016.03.27-16.49.38:558][ 0]LogCompile: Script generator ‘Lua Example Code Generator Plugin’ not supported for target: UnrealBuildTest

I’m running 4.8.3 on Linux.

Hi eric danz,

Due to the large volume of questions and comments concerning the Engine, we did not have a chance to respond to your post at the time you submitted it and, thus, the issue is now outdated. If you are still experiencing this issue in the current release of the Engine, please make a new post for assistance.