By default, script-created objects are owned by the script and destroyed when the
script ends/reloads.
To make an object belong to the scene, so it survives and continues to exist after
the script ends, use scenePersistent: true as a parameter when creating it