How do you know its running in the packaged game, and didn’t just do it during packaging?..
Why not try a script that does something different every time you run it, like chooses the color of a cube in the level.
If the cube changes color every time you load the level in a packaged build, my theory is shot