Recently I've been working on a realtime foliage generation system in Unity that I wanted to connect to my Houdini terrain generation. The problem is that for this to work I need to read the triangles of a generated mesh and enable the “Read/Write Enabled” flag, at least in a normal asset.
The meshes cooked by Houdini Engine however don't give me this option. When I try to access them I get a script error that the mesh is not readable. Is there any way for me to set this in the asset or when cooking?
I added support for generating readable meshes in the plugin. It will be in tomorrow's daily build. You'll need to create an integer attribute called “unity_mesh_readable” and set its value to 1.