Skip to content

Extract Layer contribution on windows writes backslashes in the sublayers #80

@ralphmeijerambassadors

Description

@ralphmeijerambassadors

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

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:

  1. Publish a model with extract layer contribution on Windows in Maya
  2. 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    communityIssues and PRs coming from the community members

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions