Hello! I noticed this error when exporting a USD file to Nucleus (after importing it from there) and later realized the error was due to me accidentally mistyping the filename as “Ball._v3usd”:
Runtime Error (secondary thread): in Open at line 879 of C:\db\build\S\VS1564R\build\usd\src\external_usd\pxr\usd\usd\stage.cpp -- Failed to open layer @C:\omniverse:\localhost\Projects\BallBounce\Ball.usd@
Runtime Error: in Open at line 879 of C:\db\build\S\VS1564R\build\usd\src\external_usd\pxr\usd\usd\stage.cpp -- Failed to open layer @C:\omniverse:\localhost\Projects\BallBounce\Ball.usd@
Runtime Error: in Create at line 46 of C:\db\build\S\VS1564R\build\usd\src\external_usd\pxr\usd\ar\filesystemWritableAsset.cpp -- Could not create directory 'C:\Users\Henrique\AppData\Local\Programs\omniverse-launcher\ ! = @ P R $ 2G \' for asset 'C:\Users\Henrique\AppData\Local\Programs\omniverse-launcher\ ! = @ P R $ 2G \ # .
0F.usd'
Runtime Error: in StartPacking at line 2499 of C:\db\build\S\VS1564R\build\usd\src\external_usd\pxr\usd\usd\crateFile.cpp -- Unable to open C:\Users\Henrique\AppData\Local\Programs\omniverse-launcher\ ! = @ P R $ 2G \ # .
0F.usd for write
Error: USD Export: unable to create a stage for writing ! = @ P R $ 2G / # .
0F.usd
USD export of ' ! = @ P R $ 2G / # .
0F.usd' took 22.3 ms
This should be an easy fix, just need to check for a valid file extension.