Why `Mesh.create_trimesh_shape()` creates also a `MeshInstance` (I don't want it)?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By abelgutierrez99

I’m starting to create CollisionShape via code. To do so, I use Mesh.create_trimesh_shape() and a Shape is returned in that command, so I put that Shape into the CollisionShape. Howerver, if I check the scene tree, in “Remote”, I can see a MeshInstance as a sibling of the CollisionShape. Why is thing happening? Is the expected behaivour?

I put here an image of the scene tree