Is there an existing issue for this?
Description
Current Behavior
When publishing USD files with layer contribution on Windows it writes paths and relative paths with backslashes. When using usd without the custom resolver and uri paths this causes loading issues on Linux. The top layer can be found, however the various sublayers can't be read on Linux.
Expected Behavior
Windows is able to read forward slashes in usd files. By forcing forward slashes always in sublayers all platforms are able te read the composed layers properly.
Steps To Reproduce:
- Publish a model with extract layer contribution on Windows in Maya
- On Linux load the usd asset with a maya proxy shape.
The top layer will be resolved however the sublayers won't. Make sure you don't use the uri paths and the resolver.
Additional context:
Version
Version of the server, ayon-core and the addon that's affected
Core-1.0.12
Maya 0.4.2
Server 1.5.6
What platform were you running when you found the bug?
Windows
Linux - Rocky9
Relevant log output:
Is there an existing issue for this?
Description
Current Behavior
When publishing USD files with layer contribution on Windows it writes paths and relative paths with backslashes. When using usd without the custom resolver and uri paths this causes loading issues on Linux. The top layer can be found, however the various sublayers can't be read on Linux.
Expected Behavior
Windows is able to read forward slashes in usd files. By forcing forward slashes always in sublayers all platforms are able te read the composed layers properly.
Steps To Reproduce:
The top layer will be resolved however the sublayers won't. Make sure you don't use the uri paths and the resolver.
Additional context:
Version
Version of the server, ayon-core and the addon that's affected
Core-1.0.12
Maya 0.4.2
Server 1.5.6
What platform were you running when you found the bug?
Windows
Linux - Rocky9
Relevant log output: