Search Issue Tracker

By Design

By Design in 6000.6.X

Votes

0

Found in

6000.0.73f1

6000.3.13f1

6000.4.3f1

6000.5.0b4

6000.6.0a3

Issue ID

UUM-139696

Regression

No

Physics Material 2D typed values are parsed and clamped before OnValidate

2D

-

Steps to reproduce:

  1. Create and open a new 2D UPR project
  2. Create > 2D > Physics Material 2D in the Project window
  3. In the Friction or Bounciness property change type in 'infinity'
  4. Observe the property field (without having pressed Enter or elsewhere with the mouse)

Actual results: '100inity000' is typed

Expected results: 'infinity' is typed

Reproducible with versions: 2023.1.0a10, 6000.0.73f1, 6000.3.13f1, 6000.4.3f1, 6000.5.0b4, 6000.6.0a3

Tested on (OS): Windows 11 Pro (25H2)

Notes:

  • After validation, the value is parsed again, removing the 'inity' part from the value of 100000
  • "Inf" is the shorthand form of infinity, which the Editor parses. similar to 'pi')
  • This is not present in 3D Physics Material reference
  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    After reviewing the behavior, we've confirmed it aligns with the current design and intended use of the feature. We understand this may differ from your expectations or workflow.

    We will close this case as 'As Designed.' If you have feedback on how the feature could better meet your needs, please let us know - we value your input and consider it in future improvements.

  2. Resolution Note (6000.6.X):

    Thank you for reporting a bug to Unity.

    After reviewing the behavior, we've confirmed it aligns with the current design and intended use of the feature. We understand this may differ from your expectations or workflow.

    We will close this case as 'As Designed.' If you have feedback on how the feature could better meet your needs, please let us know - we value your input and consider it in future improvements.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.