ConvertToEntity with connected Components

You also need to implent IDeclareReferencedPrefabs interface. Here is an example.
Have a look at the possible workflows here