I can work around the issue by performing the same normalization in the caller, but it requires adding logic to my code that has intimate knowledge of the AsImpL internals, which could change at any time.
The last changes (04baa7bd9085c26b4e925af609cd42f190f5537c) should solve this issue.
I think this solution should not cause side effects to other developers, anyway any further feedback is welcome.
Environment
Steps to reproduce
ImportedModel
.ImportModelAsync
with a path with backslashes, such asC:\My\Folder\model.obj
.C:/My/Folder/model.obj
.Expected behavior
The path is the original path that was passed to
ImportModelAsync
.Current behavior
The path is normalized internally and then passed to the callback.
I can work around the issue by performing the same normalization in the caller, but it requires adding logic to my code that has intimate knowledge of the AsImpL internals, which could change at any time.