Mesh.isReadable is false although Read/Write Enabled is true
I just imported the stanford bunny via blender, enabled Read/Write of the model, applied the change, and wrote a simple code which checks the length of the vertices and triangle, but I got the error below. I did enable/disabled Read/Write several times, but nothing changed. What can I do?
I use Unity 2019.1.4f1
Not allowed to access vertices on mesh 'BunnyStanfordUVUnwrapped_res1_bun_zipper_res1 Instance Instance' (isReadable is false; Read/Write must be enabled in import settings) UnityEngine.Mesh:get_vertices() DisplayMeshInfo:ShowMeshInfo() (at Assets/Scripts/Utils/DisplayMeshInfo.cs:93) DisplayMeshInfo:Start() (at Assets/Scripts/Utils/DisplayMeshInfo.cs:20)
Answer by torano · May 30, 2019 at 06:26 AM
Ok. I just reimported the model with Read/Write disabled, and then enabled it again, then it worked.
Come on man... this is not the best answer... look below and mark the right answer
Answer by satolas · Jul 23, 2019 at 04:20 PM
Hello, No need to re-import.
You can just go to Assets/Models (or the location where you import your models) And check the box Read/Write Enabled into the Import Settings Model Tab :
why are there 8 up votes! Satolas said and also screenshotted the same thing the author wrote. that is exactly what is not working for him and you asked him to do it again.
Answer by malek8 · Nov 12, 2019 at 01:50 PM
is possible change to true in runtime (while crate/bake object)?
Answer by Parokonnyy · Jan 27, 2021 at 10:55 AM
For me solution was - disable static for GameObject using this mesh.
Answer by marcozakaria · May 10, 2021 at 08:25 AM
On android build was gettings me read/write false because of this checks in build settings, uncheck them
Your answer

Follow this Question
Related Questions
Mesh missing in prefab 0 Answers
Mesh mirror with bisect-trimming in realtime? 0 Answers
How to rotate gameobjects along animated mesh surface right? 0 Answers
Why flipping triangles, not normals 1 Answer
Mesh without texture 1 Answer