Not a bug, the reason the Label and TextField are not visible is because the "sorting-layers-container" visibility is set to hidden in FindUnknownLayers.
Removing this line "rootVisualElement.Q("sorting-layers-container").style.visibility = Visibility.Hidden;" fix the issue.