Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2018.2.0a4
Issue ID
1012769
Regression
No
ArgumentNullException error is thrown on clicking edit button from Line Renderer
ArgumentNullException error is thrown on clicking edit button from Line Renderer.
Steps to Reproduce:
1. Create a new unity project
2. Create an Empty GameObject
3. Add Line Renderer component to it.
4. Click on Edit Button from the inspector
Environment:
Occurring on both Windows and Mac
Reproducible on: 2018.2.0a4, 2018.2.0a5
Note: Line Renderer Editor is introduced in unity 2018.2.0a4
Stack Trace:
ArgumentNullException: Argument cannot be null.
Parameter name: cloudTransform
UnityEditor.LightProbeVisualization.DrawPointCloud (UnityEngine.Vector3[] unselectedPositions, UnityEngine.Vector3[] selectedPositions, Color baseColor, Color selectedColor, Single scale, UnityEngine.Transform cloudTransform)
UnityEditor.PointEditor.Draw (IEditablePoint points, UnityEngine.Transform cloudTransform, System.Collections.Generic.List`1 selection, Boolean twoPassDrawing) (at C:/buildslave/unity/build/Editor/Mono/PointEditor.cs:267)
UnityEditor.LineRendererEditor.EditSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/LineRendererToolModes.cs:206)
UnityEditor.LineRendererInspector.InternalOnSceneView () (at C:/buildslave/unity/build/Editor/Mono/Inspector/LineRendererEditor.cs:492)
UnityEditor.LineRendererInspector.OnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/LineRendererEditor.cs:504)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/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/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.SceneView.CallOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2622)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1935)
UnityEditor.SceneView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1772)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/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/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:295)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:288)
UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:255)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
- Field is still marked as changed when changed back to its default state in UI Builder
- Crash on UnityEngine.UI.RawImage:OnPopulateMesh when playing Raw Image Texture animation with Sprite keyframes
Add comment