ConvertToEntity Gameobject with MeshCollider

if fbx not set export bool - read/write enabled im get error

InvalidOperationException: Mesh 'Coin (UnityEngine.Mesh)' assigned to Unity.Physics.MeshCollider on Coin is not readable. Ensure that you have enabled Read/Write on its import settings.
Unity.Physics.Authoring.LegacyMeshColliderConversionSystem.GenerateComputationData (UnityEngine.MeshCollider shape, Unity.Physics.Authoring.ColliderInstance colliderInstance, Unity.Collections.NativeList`1[T]

is it possible to fix this without setting this flag?

You can set this flag on Unity FBX importer, don’t need to set it when exporting the FBX

1 Like

I figured out how to get around this so as not to waste extra memory.
You need to set this flag and after loading manually and after processing the mesh data, you can call
UploadMeshData(true) to unload mesh data.