godotengine / godotengine/godot

macOS: Tiles from large TileSets not selectable in TileMap

Open
#95,237 0 comments 0 reactions 0 assignees View on GitHub
bug platform:macos topic:2d topic:editor
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

- Reproducible in 4.2.2-stable and 4.3-rc2

### System information

- macOS Sonoma 14.5
- Not reproducible on Windows 11

### Issue description

Importing large tilesets on macOS (2048x2048 and larger), results in tiles not being auto-created correctly. The tileset is greyed out and tiles are not selectable in the TileMap editor.

### Steps to reproduce

Steps to Reproduce:

1. Create a TileMap node
2. Create a new TileSet in the Inspector
3. Set Tile Size to 128x128 in the Inspector
4. Import the tileset asset (at least 2048x2048), in MRP asset from [Kenney.nl](https://kenney.nl/assets/top-down-shooter)
5. In the TileSet editor add Atlas
6. Select ‘Yes’ on the dialog for auto creating tiles

Result:
- TileSet is greyed out
- Tiles are not selectable nor placeable in TileMap editor
- See screenshots

screenshot-tilemap
screenshot-tileset

Expected:
- Tiles in TileMap editor are selectable and placeable

Workaround:
- Follow steps 1. - 6. in reproducing
- Re-import asset from Filesystem dock: Right-Click -> Reimport
- In TileSet Editor -> Three dots -> "Create Tiles in Non-transparent Texture Regions"
- Tiles are created as expected and selectable/placeable via the TileMap editor

screenshot-tileset-good

### Minimal reproduction project (MRP)

[tileset-reproduce.zip](https://github.com/user-attachments/files/16521177/tileset-reproduce.zip)

Contributor guide

Open the contributing guide

Research direction

Start with the attached tileset-reproduce.zip and reproduce the issue on macOS using a 2048x2048-or-larger tileset and 128x128 tile size. Compare automatic tile creation with the documented reimport and “Create Tiles in Non-transparent Texture Regions” workaround; done means the TileSet is not greyed out and tiles are selectable and placeable in the TileMap editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, macos
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.