Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
2
Found in
2021.3.28f1
2022.3.4f1
2023.1.4f1
2023.2.0a23
Issue ID
UUM-42921
Regression
No
NaN values in Rect Transform when the anchor is set to stretch and all the Rect Transform fields are set to 0
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/Game.unity” Scene
3. Expand the “Canvas” GameObject in Hierarchy
4. Select “PlayArea” GameObject
5. Observe its Rect Transform values in the Inspector window
Expected result: Correct values are seen
Actual result: NaN values are seen
Reproducible with: 1.0.0 (2021.3.28f1, 2022.3.4f1, 2023.1.4f1), 2.0.0 (2023.2.0a23), 3.0.0-exp.1 (2023.2.0a23)
Testing environment: Windows 10 Enterprise 21H2
Notes:
- Reproduces only if the anchor is set to stretch and all the fields in Rect Transform are set to 0. After that Project has to be reopened
- When trying to change the NaN values, It did not work
- Still shows NaN values when Platform is changed to Windows Standalone
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
Something got corrupted in the components and saved with NaN. Change the anchor, set back to zero and change the anchor again and it's fixed.
Resolution Note (2023.2.X):
Something got corrupted in the components and saved with NaN. Change the anchor, set back to zero and change the anchor again and it's fixed.