Search Issue Tracker
Fixed in 4.3.0-preview.9
Votes
0
Found in [Package]
preview.8 - 4.3.0, 4.2.3, 4.2.1, 4.1.0, 4.0.2, 3.0.0
Issue ID
1242884
Regression
No
[ProBuilder]ArgumentNullException thrown on selecting Actions from Tools menu with "New Poly Shape" object
ArgumentNullException thrown on selecting "Strip All ProBuilder Scripts in Scene" OR "Strip ProBuilder Script in Selection" Actions from "Tools" menu when "New Poly Shape" GameObject is created in Scene View, Refer attached video.
Steps to repro:
1. Create a new project.
2. Window > Package Manager > ProBuilder > Install
3. Tools > ProBuilder > ProBuilder Window
4. Create a "New Poly Shape"
5. Tools > ProBuilder > Actions > Strip All ProBuilder Scripts in Scene OR Strip ProBuilder Script in Selection
Actual Result:
ArgumentNullException thrown on "Strip All ProBuilder Scripts in Scene" action is performed with the "New Poly Shape" GameObject
Expected Result:
"Strip All ProBuilder Scripts in Scene" OR "Strip ProBuilder Script in Selection" actions are performed gracefully
Occurring on:
2020.2.0a9, 2020.1.0b7, 2019.3.12f1, 2019.2.13f1, 2019.1.11f1, 2018.4.14f1
Package found version: preview.8 - 4.3.0, 4.2.3, 4.2.1, 4.1.0, 4.0.2, 3.0.0
Environment:
Windows10 and macOS 10.14
Stack trace:
ArgumentNullException: Value cannot be null.
Parameter name: mesh
UnityEngine.ProBuilder.MeshOperations.AppendElements.CreateShapeFromPolygon (UnityEngine.ProBuilder.ProBuilderMesh mesh, System.Collections.Generic.IList`1[T] points, System.Single extrude, System.Boolean flipNormals, System.Collections.Generic.IList`1[T] holePoints) (at Library/PackageCache/com.unity.probuilder@4.3.0-preview.8/Runtime/MeshOperations/AppendElements.cs:380)
UnityEngine.ProBuilder.MeshOperations.AppendElements.CreateShapeFromPolygon (UnityEngine.ProBuilder.ProBuilderMesh mesh, System.Collections.Generic.IList`1[T] points, System.Single extrude, System.Boolean flipNormals) (at Library/PackageCache/com.unity.probuilder@4.3.0-preview.8/Runtime/MeshOperations/AppendElements.cs:244)
UnityEngine.ProBuilder.MeshOperations.AppendElements.CreateShapeFromPolygon (UnityEngine.ProBuilder.PolyShape poly) (at Library/PackageCache/com.unity.probuilder@4.3.0-preview.8/Runtime/MeshOperations/AppendElements.cs:220)
UnityEditor.ProBuilder.PolyShapeEditor.RebuildPolyShapeMesh (System.Boolean vertexCountChanged) (at Library/PackageCache/com.unity.probuilder@4.3.0-preview.8/Editor/EditorCore/PolyShapeEditor.cs:226)
UnityEditor.ProBuilder.PolyShapeEditor.SetPolyEditMode (UnityEngine.ProBuilder.PolyShape+PolyEditMode mode) (at Library/PackageCache/com.unity.probuilder@4.3.0-preview.8/Editor/EditorCore/PolyShapeEditor.cs:212)
UnityEditor.ProBuilder.PolyShapeEditor.OnDisable () (at Library/PackageCache/com.unity.probuilder@4.3.0-preview.8/Editor/EditorCore/PolyShapeEditor.cs:81)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
- Errors “InvalidOperationException: Trying to use a texture (_CameraDepthTexture)...” and “Render Graph Execution error” shown when selecting GameObjects with Mesh Renderer from the Hierarchy
- macOS stutters in a minimal project
- [Usability] HDRP Wizard calls for VR fixes when opening the HDRP Wizard a second time after they have already been applied and the Wizard has finished checking
Add comment