Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mesh.normals is out of bounds
#1
Hi I'm getting the following error on a generator, using Unity 2017.3, curvy versions 2.1.3 & 2.2

Code:
Mesh.normals is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Mesh:set_normals(Vector3[])
FluffyUnderware.Curvy.Generator.CGVMesh:ToMesh(Mesh&) (at Assets/Packages/Curvy/Base/CG/CGData.cs:1182)
FluffyUnderware.Curvy.Generator.Modules.CreateMesh:writeVMeshToMesh(CGVMesh&) (at Assets/Packages/Curvy/Base/CG Modules/CreateMesh.cs:613)
FluffyUnderware.Curvy.Generator.Modules.CreateMesh:createMeshes(List`1&, Boolean) (at Assets/Packages/Curvy/Base/CG Modules/CreateMesh.cs:508)
FluffyUnderware.Curvy.Generator.Modules.CreateMesh:Refresh() (at Assets/Packages/Curvy/Base/CG Modules/CreateMesh.cs:417)
FluffyUnderware.Curvy.Generator.CGModule:doRefresh() (at Assets/Packages/Curvy/Base/CG/CGModule.cs:792)
FluffyUnderware.Curvy.Generator.CurvyGenerator:Refresh(Boolean) (at Assets/Packages/Curvy/Base/CG/CurvyGenerator.cs:542)
FluffyUnderware.Curvy.Generator.CurvyGenerator:editorUpdate() (at Assets/Packages/Curvy/Base/CG/CurvyGenerator.cs:239)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

&

Code:
IndexOutOfRangeException: Array index is out of range.
FluffyUnderware.DevTools.Extensions.MeshFilterExt.CalculateTangents (UnityEngine.MeshFilter m) (at Assets/Packages/DevTools/Extensions/Extensions.cs:767)
FluffyUnderware.Curvy.Generator.Modules.CreateMesh.writeVMeshToMesh (FluffyUnderware.Curvy.Generator.CGVMesh& vmesh) (at Assets/Packages/Curvy/Base/CG Modules/CreateMesh.cs:620)
FluffyUnderware.Curvy.Generator.Modules.CreateMesh.createMeshes (System.Collections.Generic.List`1& vMeshes, Boolean combine) (at Assets/Packages/Curvy/Base/CG Modules/CreateMesh.cs:508)
FluffyUnderware.Curvy.Generator.Modules.CreateMesh.Refresh () (at Assets/Packages/Curvy/Base/CG Modules/CreateMesh.cs:417)
FluffyUnderware.Curvy.Generator.CGModule.doRefresh () (at Assets/Packages/Curvy/Base/CG/CGModule.cs:792)
FluffyUnderware.Curvy.Generator.CurvyGenerator.Refresh (Boolean forceUpdate) (at Assets/Packages/Curvy/Base/CG/CurvyGenerator.cs:542)
FluffyUnderware.Curvy.Generator.CurvyGenerator.editorUpdate () (at Assets/Packages/Curvy/Base/CG/CurvyGenerator.cs:239)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:127)

in both the editor and runtime.

Also the bug submit form isn't working as it needs captcha but theres no captcha on the page (chrome)
Reply


Messages In This Thread
Mesh.normals is out of bounds - by hawken - 01-12-2018, 07:21 AM
RE: Mesh.normals is out of bounds - by hawken - 01-12-2018, 08:22 AM
RE: Mesh.normals is out of bounds - by _Aka_ - 01-12-2018, 04:15 PM
RE: Mesh.normals is out of bounds - by _Aka_ - 01-12-2018, 07:23 PM
RE: Mesh.normals is out of bounds - by hawken - 01-15-2018, 03:13 AM
RE: Mesh.normals is out of bounds - by _Aka_ - 01-15-2018, 03:22 PM
RE: Mesh.normals is out of bounds - by _Aka_ - 01-16-2018, 08:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to generate UVs along deformed and copied mesh? kubak 1 309 03-18-2026, 08:34 PM
Last Post: _Aka_
  Replace deform mesh on volume spots Kokoriko49 1 2,322 06-09-2025, 06:49 PM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 3,623 02-14-2025, 07:11 AM
Last Post: vatan
  Create Mesh Node, Make Static Options rickgplus 1 1,833 01-23-2025, 10:12 AM
Last Post: _Aka_

Forum Jump: