Steps to reproduce:
1. Create new Unity project
2. In Project window create Auto Tile (Right-click > Create > 2D > Tiles > Auto Tile)
3. In Inspector window > User Textures numeric field write “100”
4. In same numeric field change “100” to “0”
5. Press Enter
6. Observe the Console window
Actual results: Error - ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index - is thrown in the Console window
Expected results: No errors
Reproducible with versions: 6000.1.4f1, 6000.2.0b3
Can’t test with versions: 6000.0.49f1 (no Auto Tile available)
Tested on (OS): MacBook Pro, 2021, Sequoia 15.5 (M1)