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
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 21 04-17-2024, 10:57 AM
Last Post: _Aka_
  Adjust radius of generated mesh via script? Shackman 1 4 03-26-2024, 01:12 PM
Last Post: _Aka_
  Not seeing mesh extended after following YT PaulM 1 3 02-02-2024, 12:01 PM
Last Post: _Aka_
  Trigger Zones along Spline Mesh dlees9191 1 5 01-05-2024, 10:18 AM
Last Post: _Aka_

Forum Jump: