“This will work in playmode in the editor but not in the player.”
I bought an asset pack, but when i try to use the prefabs in a scene I get that error for every single one. Apparently all the models do not allow read access. I cannot for the life of me figure out how to enable read access, why it would be disabled by default, or why I am running into this problem when googling suggests that nobody else has.
Any help would be greatly appreciated.
1 Like
You should be able to select the asset and on the Model Importer settings there should be a check box ‘Read/Write Enable’.
18 Likes
Can’t believe I missed that. Thanks a lot
nice. cant believe i missed this as well
nice. I also missed it that
Thanks a bunch, that did the trick.
I bumped into this error message and even though my models were enabled for read/write and static was ticked off
the problem still persisted.
So I tried In the Inspector / on NavMeshSurface panel setting the Use Geometry option to Physics Collider.
Now it works.
2 Likes
I’m getting this a lot. Problem is, I don’t want the meshes to be readable, nor do I want them to be considered for navigation. How can I ensure the runtime Navmesh builder ignores them?
Thanks brother. Saved me a lot of time.