Steps to reproduce:
- Create a new Unity project using the Universal 2D template
- Create a new Auto Tile (Assets > Create > 2D > Tiles > Auto Tile)
- Select the newly created Auto Tile in the Project window
- Expand the Used Textures foldout
- Enter "999999999" in the Used Textures element count input
- Press Enter
- Observe the Editor
Actual results: The Editor freezes and "OutOfMemoryExceotion" error is thrown
Expected results: The Used Textures list has a maximum element count limit
Reproducible with versions: 6000.3.10f1, 6000.4.0b9, 6000.5.0a7
Can’t test with versions: 6000.0.68f1 (due to no Auto Tile)
Tested on (OS): MacOS Silicon Tahoe 26.2
Notes:
- Tile Rule and Animated Tile have a limit of 1000 on similar lists which prevent this issue