This version of Unity is unsupported.

BuildOptions.AllowDebugging

Description

Allow script debuggers to attach to the Player remotely. You can debug your scripts only if you use BuildOptions.Development.

Additional resources: BuildPipeline.BuildPlayer.