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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment