Steps to reproduce:
- Create a new Unity project using a 3D Universal Template
- In the Package Manager, install the 2D Features packages
- Open the Tile Palette window (Window > 2D > Tile Palette)
- Click "Create New Tile Palette" dropdown
- Click "Create New Tile Palette" again to open the creation window
- In the Cell Size property, change the mode from Automatic to Manual
- Enter any negative values in the XYZ value fields
- Click Create
- Create another Tile Palette but with non-negative values
- Close the Tile Palette window
- From the Project window, select the Palette created in the 8th step
- Click "Open Tile Palette"
- Observe the Console
Actual results: "Assertion failed on expression: 'math::all(math::isfinite..." errors and the Tile Palette with negative numbers is not fully functional
Expected results: It should not be allowed to enter negative numbers into the Cell Size property
Reproducible with versions: 2023.1.0b1, 6000.0.64f1, 6000.3.3f1, 6000.4.0b3, 6000.5.0a4
Tested on (OS): Windows 11, macOS 26.1 (M1 Pro)
Notes:{}
- Trying to place Sprites in the Tile Palette also does not work and just shows a grey window
- When selecting the Tile Palette, the Inspector shows "0" value where the negative value was previously entered
- The error is not shown in 6000.0.64f1 and earlier versions, but the file is still corrupted and loses functionality
- Might not reproduce instantly, but opening/closing the Tile Palette window a few times throws the error
- The error is thrown even after the problematic Tile Palette is deleted