Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b1
Issue ID
588654
Regression
No
Lots of exceptions are thrown when resizing Canvas with Render Mode set to World Space
Console gets spammed with:
The targets array should not be used inside OnSceneGUI or OnPreviewGUI. Use the single target property instead.
UnityEditor.DockArea:OnGUI()
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.RectTransformEditor.GetAnchorLocal (UnityEngine.RectTransform guiParent, Vector2 anchor) (at C:/BuildAgent/work/afa2580bf6048259/Editor/Mono/Inspector/RectTransformEditor.cs:777)
UnityEditor.RectTransformEditor.DrawAnchorRect (UnityEngine.Transform parentSpace, UnityEngine.RectTransform gui, UnityEngine.RectTransform guiParent, Int32 axis) (at C:/BuildAgent/work/afa2580bf6048259/Editor/Mono/Inspector/RectTransformEditor.cs:1061)
UnityEditor.RectTransformEditor.DrawSizes (Rect rectInUserSpace, UnityEngine.Transform userSpace, Rect rectInParentSpace, UnityEngine.Transform parentSpace, UnityEngine.RectTransform gui, UnityEngine.RectTransform guiParent) (at C:/BuildAgent/work/afa2580bf6048259/Editor/Mono/Inspector/RectTransformEditor.cs:910)
UnityEditor.RectTransformEditor.OnSceneGUI () (at C:/BuildAgent/work/afa2580bf6048259/Editor/Mono/Inspector/RectTransformEditor.cs:548)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.SceneView.CallOnSceneGUI () (at C:/BuildAgent/work/afa2580bf6048259/Editor/Mono/SceneView/SceneView.cs:1674)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at C:/BuildAgent/work/afa2580bf6048259/Editor/Mono/SceneView/SceneView.cs:1093)
UnityEditor.SceneView.OnGUI () (at C:/BuildAgent/work/afa2580bf6048259/Editor/Mono/SceneView/SceneView.cs:970)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment