Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make the generated mesh readable ?
#1
Hi !

I wrote a  mesh deformer script which is modifying mesh vertices at runtime.
It was working great with another plugin "m*ga shap*s" : https://vimeo.com/278707282
But I decided to switch to Curvy for better features. The only issue I have is that the generated mesh is not readable :

"Not allowed to  access vertices on mesh 'Combined Mesh (root: scene) Instance' (isReadable is false; Read/Write must be enabled in import settings)
UnityEngine.Mesh:get_vertices()"

I tried to use mesh.UploadMeshData(false) inside the "CreateMesh" script, checking/unchecking the "combine" option, generate the .mesh asset, but it makes no difference. 
Do you have any idea about where and which code can I edit to make the generated mesh readable at runtime ?

Thank you so much for your support !

Regards,
Anthony
Reply


Messages In This Thread
How to make the generated mesh readable ? - by Anthonyk - 07-06-2018, 05:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Brick Extending Curvy to make a Hallway editor. JacobSL 3 139 10-13-2021, 05:09 PM
Last Post: _Aka_
  Make hard angle cll3m 5 1,102 07-01-2021, 04:06 PM
Last Post: _Aka_
  Questions about Generator: mesh/objects within spline, snap to control point dartboard 5 960 06-09-2021, 12:42 PM
Last Post: _Aka_
  Disabled mesh generation until a certain number of CPs are added. boriskourt 1 414 05-02-2021, 10:02 AM
Last Post: _Aka_

Forum Jump: