When running a CreateSceneLayerPackage as a standalone script, ArcGIS Pro crashes.
When running the same script in ArcGIS Pro python console, it works fine.
To verify that the problem was not the syntax, I ran the 2 GP tools MakeFeatureLayer and CreateSceneLayerPackage from ArcGIS Pro (not using python, from the toolboxes), I went to the Geoprocessing History > Copy Python Command and copy the lines in my script.
Same thing, when running it from the Pro python console it works, but it crashes from a standalone script.
Has anyone experienced something similar ? Thanks