How to reproduce:
1. Open the attached project "TilemapCrashRepro"
2. Go to Tools > Reproduce Tilemap Crash
3. Observe the results
Expected results: The Editor does not crash and the unresolvable Tile is skipped, the same way the single refresh path does
Actual results: The Editor crashes with "Dereferencing nullptr PPtr!" in Tilemap::SetTileAssetsConcurrentBatch (SIGTRAP, exit code 133)
Reproducible with: 6000.7.0a6
Not reproducible with: 6000.5.10f1, 6000.6.0f1, 6000.7.0a5
Reproducible on: macOS Tahoe 26 (M1 Max)
Not reproducible on: No other environment tested
Note: Deleting a Tile asset from the Project window instead does not reproduce it - that path leaves the reference resolvable.
First lines of error:
Dereferencing nullptr PPtr!
UnityEngine.Tilemaps.Tilemap:SetTileAsset (UnityEngine.Vector3Int,UnityEngine.Object)
UnityEngine.Tilemaps.Tilemap:SetTile (UnityEngine.Vector3Int,UnityEngine.Tilemaps.TileBase) (at /Users/bokken/build/output/unity/unity/Modules/Tilemap/ScriptBindings/Tilemap.bindings.cs:465)
First lines of stacktrace:
#0 Tilemap::SetTileAssetsConcurrentBatch(math::int3_storage const*, PPtr<Object> const*, unsigned long)
#1 Tilemap::SetTileAsset(math::int3_storage const&, PPtr<Object>)
#2 Tilemap_CUSTOM_SetTileAsset(void*, math::int3_storage const&, void*)