I got this Error Message, when I used the command to create the track tiles Save aborted. Level must be unlocked before it can be saved.
If I remember correctly, you have to be in Network Edit mode to run it. It's because switching to it unlocks the Track Tiles and Track Scenery Tiles while also locking the regular Landscape Tiles and Scenery Tiles.
Ensure before you action stuff that could break the level or majorly change it you save the level. Sometimes level not being saved will cause some stuff to not work or break.,
I have that same error when placing a track, exactly on the border to the next Tile, I don't know to solve it tho, I already tried to recreate the track tiles, but nothing changed, and I also can't unlock them in the Levels Menu...