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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.