最終確認日
Godot4.4-TileMapLayerでタイルが存在しない時に出るエラーを解消する
問題
ERROR: The TileSetAtlasSource atlas has no tile at (57, 31). ERROR: TileSetAtlasSource has no tile at (57, 31). ERROR: Cannot create tile. The tile is outside the texture or tiles are already present in the space the tile would cover.
TileMapLayerでスプライトシートを読み込んでタイルを区切った時に、完全に透明なタイルがあるとこのエラーが出る。
このタイルを消しゴムツールで削除しようとしても選択ができないが、エラーは出るので困った。
解決
該当のTileSetを開き、メニューボタンより、Remote Tiles Outside the Texture
を選択する。
そうすると、🟡 ! が消える。これで実行するとエラーが消えた。

公開日
更新日