I can’t find anything online for this error, but I get 7 copies of this error when changing scenes, but only if I have a Tileset/TilesetLayer selected in the scene.
Making the Tileset unique doesn’t change anything, closing and reopening Godot doesn’t, this doesn’t affect anything in-game, but the constant errors do make working on my game quite distracting
Here’s a copy of the Error log.
ERROR: Can't add child '@TileDataTextureOriginEditor@24480' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataDefaultEditor@24482' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataDefaultEditor@24484' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataYSortEditor@24486' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataTerrainsEditor@24488' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataDefaultEditor@24490' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataCollisionEditor@24492' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataTextureOriginEditor@24480' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataDefaultEditor@24482' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataDefaultEditor@24484' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataYSortEditor@24486' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataTerrainsEditor@24488' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataDefaultEditor@24490' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
ERROR: Can't add child '@TileDataCollisionEditor@24492' to '@VBoxContainer@17166', already has a parent '@VBoxContainer@17166'.
This is definitely an error reported by the editor code.
Could you check off these working hypotheses?
It could be a plugin to edit Tilesets or TilemapLayers with, because the Tileset editor Dock is not working properly. In this case the plugin may have been built for an older Godot version for instance.
try installing a fresh version of Godot to open your project in. One minor stable release older for instance. Not likely that it’s a core Godot issue, unless you have a customized installation. What Godot version does the console print when you open? Does it also show a git tag or git commit hash?
A corrupt Tileset resource (file) could also be an underlying issue, causing this behaviour (trying to load unexpected data, while stuff was already parented into the Tileset editor Dock, though the errors do not seem to imply that). You can check this off by creating a new tileset in a fresh project from scratch and checking if the errors come back. If not, try the following bullets as well to try and find/remove a tileset resource that might be unused now causing trouble by hiding in a scene somewhere.
there is a menu option to check for unused resources as well.. somewhere in the Project pull down menu. see if a tileset resource is in there that you’re not using but is messing up the editor.
Thanks for your suggestions, but these didn’t fix the issue directly. But I’ll go share my results.
I don’t have any plugins, so that’s not really an issue
I updated to the latest version (v4.6.3). The error is still occurring
Console open log:
Godot Engine v4.6.3.stable.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
When opening a new project and making a tile set from an Image, it didn’t throw up anything. So then I imported the tile set from the other project. Got the error again. It’s good to know at least that it’s related to that specific tileset, at least I could just add a copy of it.
I don’t see any unused or used saved tile sets in the editor. I don’t have any saved outside of the scene itself, really
After caching, the error still appeared
While in my Testing file, which I had made, I started just changing anything that might fix the issue. It stopped strangely, pretty sure I believe it was removing transparent tiles that did it (Which, if that’s the reason, I apologize for my stupidity), but there aren’t any in the tile set itself. I’m going to keep this open for a few more days just because I have an irrational fear of things unsolving themselves.
I should’ve mentioned that I’m on the beginner side of Godot.