CesiumGS / cesium-omniverse

Bringing the 3D geospatial ecosystem to Omniverse
https://cesium.com/platform/cesium-for-omniverse/
Apache License 2.0
51 stars 7 forks source link

Hang on startup when extension is used in an Kit-app-template "Fat Package" #708

Open r-veenstra opened 3 months ago

r-veenstra commented 3 months ago

When including Cesium for Omniverse in a kit-app-template "Fat Package" (Designed to run on a system that does not have Omniverse installed). The extension appears to hang and prevents the application from loading.

This appears to be only reproducible when running the package on a system that has not had Omniverse installed.

r-veenstra commented 3 months ago

The extension appears to be hanging at this line in extension.py

Checking the input to on_startupit was being sent c:/ov/package/exts/cesium.omniverse/cesium/omniverse\../../ which appears reasonable and is consistent with the input I'm seeing on my dev pc.

To be sure there were no issues with the parsing of the path above, I tried replacing

cesium_extension_location = os.path.join(os.path.dirname(__file__), "../../")

with

cesium_extension_location = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))

The same outcome is observed