Search Issue Tracker
Won't Fix
Votes
4
Found in
5.5.1f1
Issue ID
880516
Regression
No
Resizing parent RectTransform when child RectTransform is selected results in "Look rotation viewing vector is zero" error
Reproduction steps:
1. Open the attached project "ui_bug.zip";
2. Open the test.unity scene;
3. Select "Panel 2";
4. While the "Panel 2" is still selected, try to resize the parent "Panel 1" by grabbing its' bounds;
Expected results: the parent panel will be resized;
Actual results: The editor is spamming "Look rotation viewing vector is zero" error in the console window and freezes eventually.
Reproduced on: 5.5.1f1, 5.6.0b8, 5.4.4p3.
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
- [Android] Player with the specific Video clip crashes on "/apex/com.android.runtime/lib/bionic/libc.so (__memcpy_a53+96)" when the video is bundled with other video clips and Codec is set to VP8
- The Console window is not cleared when scripts are recompiled and the "Clear on Recompile" option is enabled
- "Warning CS8032: An instance of analyzer Unity.Properties.SourceGenerator.PropertyBagGenerator cannot be created" is thrown when using Visual Studio 2022
- Building the project for Android fails when the Gradle installed with Unity is used to build it
- Two "Add Component" buttons exist in Inspector when an Entities Subscene GameObject is selected
ModularBuilds
May 13, 2017 10:31
I'm pretty sad that they won't fix this, it's been a BIG problem for me all the way back to Unity 4.3!
For anyone wondering about the workaround, goto the object you tried to edit the bounds of, click the gear icon, then click reset. This should bring back your object's scale and position from being 'NaN'. You'll have to fix the scale and positioning yourself if it wasn't 0,0,0.