Custom ConvertToEntity?

ConvertToEntity convert everything, but im working under inject mode, is there a way to make components like MeshRenderer be avoid by ConvertToEntity?

Or… Is there a way to map transform to entity without ConvertToEntity ? I add transform object directly to entity, but EntityQuery.GetTransformAccessArray() returns none.

:face_with_spiral_eyes::face_with_spiral_eyes:

As an easy workaround, you can make you GameObject with the MeshRenderer be a children of the one with ConvertToEntity with inject mode as only the MeshRenderers on the object with ConvertToEntity gets converted.

Yes,you are right.:wink: But conflict with our current work flow:sweat_smile: And hard to debug…