NVIDIA-Omniverse / kit-app-template

Omniverse Kit App Template
Other
307 stars 93 forks source link

[QUESTION]: auto_load_usd option is giving error on windows #26

Closed 3desinc closed 1 month ago

3desinc commented 2 months ago

Question

USDViewer Application

When running the following command (.\repo.bat launch -- --/app/auto_load_usd=D:/stage01.usd) in Windows, I get error. Tried different options including enclosing with "" and ' '. The app opens but get file loading error.

nandu

Additional Context

[113.638s] app ready 2024-09-23 12:04:42 [130,810ms] [Error] [omni.usd] Failed to open : D:/stage01.usd

Attaching the log kit_20240923_080231.log

SchultzC commented 2 months ago

There are a couple of things to check here:

1) It looks like you are passing D:/stage01.usd as the full path to the sample asset. Unless you have moved the asset out of the Viewer setup extension this doesn't appear to be the correct path. By default the correct path will have the following form :

{replace-with-full-path-to-kit-app-template}\source\extensions\{replace-with-setup-extension-name}\samples\stage01.usd

2) If you have intentionally moved the sample asset to D:/stage01.usd it's worth checking if you have git-lfs configured correctly to ensure the asset has been successfully pulled down from github.

Administrators-0001 commented 2 months ago

Actually, I am facing a problem with my device and now I am reinstalling Windows, but if there is something wrong on my part, I will be happy to delete or modify it. Please guide me.

احصل على Outlook for Androidhttps://aka.ms/AAb9ysg


From: Chris Schultz @.> Sent: Friday, September 27, 2024 9:25:47 PM To: NVIDIA-Omniverse/kit-app-template @.> Cc: Subscribed @.***> Subject: Re: [NVIDIA-Omniverse/kit-app-template] [QUESTION]: auto_load_usd option is giving error on windows (Issue #26)

There are a couple of things to check here:

  1. It looks like you are passing D:/stage01.usd as the full path to the sample asset. Unless you have moved the asset out of the Viewer setup extension this doesn't appear to be the correct path. By default the correct path will have the following form :

{replace-with-full-path-to-kit-app-template}\source\extensions{replace-with-setup-extension-name}\samples\stage01.usd

  1. If you have intentionally moved the sample asset to D:/stage01.usd it's worth checking if you have git-lfs configured correctly to ensure the asset has been successfully pulled down from github.

— Reply to this email directly, view it on GitHubhttps://github.com/NVIDIA-Omniverse/kit-app-template/issues/26#issuecomment-2379832914, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLI533W6YYHVBO2BFCZ36I3ZYWPKXAVCNFSM6AAAAABOV5SJ7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZZHAZTEOJRGQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

3desinc commented 1 month ago

Thanks Chris Schultz. It works when I do the git pull of the kit-app-template folder (instead of downloading a zip folder and unzipping it) and also point the stage01.usd in the source/examples folder as you mentioned. Thanks, Nandu

SchultzC commented 1 month ago

Perfect. With that I'll close out this question.