Constant "Can't add child '@TileDataTextureOriginEditor@' " Errors

The problem is that you are trying to execute an add_child() call when you should be using reparent() instead during your scene change.

If you want more help than that, take a look at this post:

And give us enough information to help you solve your problem.