Search Issue Tracker

Active

Under Consideration for 6000.5.X

In Progress in 6000.0.X, 6000.3.X, 6000.4.X

Votes

0

Found in

6000.0.64f1

6000.3.3f1

6000.4.0b3

6000.5.0a4

Issue ID

UUM-130884

Regression

No

Tile Palette allows negative Manual "Cell Size" values causing asset corruption and "Assertion failed on expression" errors

2D

-

Steps to reproduce:

  1. Create a new Unity project using a 3D Universal Template
  2. In the Package Manager, install the 2D Features packages
  3. Open the Tile Palette window (Window > 2D > Tile Palette)
  4. Click "Create New Tile Palette" dropdown
  5. Click "Create New Tile Palette" again to open the creation window
  6. In the Cell Size property, change the mode from Automatic to Manual
  7. Enter any negative values in the XYZ value fields
  8. Click Create
  9. Create another Tile Palette but with non-negative values
  10. Close the Tile Palette window
  11. From the Project window, select the Palette created in the 8th step
  12. Click "Open Tile Palette"
  13. 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

Add comment

Log in to post comment