KML Layer is not supported in SceneView:
https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KMLLayer.html
It would be ultimate benefit if you go to support functionality in SceneView. It's already available in Xamarin.
Otherwise, we'd have to publish a GP Pipeline and publish each input into Enterprise / Online which consumes time and credits.