For example, I have an asset at part_types/test_cube.ron, and I can index it as such on Linux. But on Windows the resource gets inserted to the asset map with the key part_types\\test_cube.ron.
I think the path strings should be normalized to use slashes, or possibly the map could be indexed by a path type instead of a string.
Yeah, those keys should be the same on different OS. I think strings with simple slashes would be the nicer solution. That also mimics the behavior of Bevy assets.
For example, I have an asset at
part_types/test_cube.ron
, and I can index it as such on Linux. But on Windows the resource gets inserted to the asset map with the keypart_types\\test_cube.ron
.I think the path strings should be normalized to use slashes, or possibly the map could be indexed by a path type instead of a string.