Prerequisites
Game Version
Bug Description
On non-Windows builds, opening a file for writing under a directory that does not exist yet creates the file in the working directory under its leaf name instead of at the requested path. The requested directory is never created.
Reproduction Steps
- On a non-Windows build, open a file for writing with File::CREATE at a path whose parent directory does not exist yet. A map received through a network transfer reaches this.
- Observe the requested directory is not created.
- Observe the file in the working directory, named only its leaf.
Additional Context
The non-Windows case-insensitive path fixup replaces the resolved prefix with the unmatched component instead of appending to it, discarding everything matched so far.
Prerequisites
Game Version
Bug Description
On non-Windows builds, opening a file for writing under a directory that does not exist yet creates the file in the working directory under its leaf name instead of at the requested path. The requested directory is never created.
Reproduction Steps
Additional Context
The non-Windows case-insensitive path fixup replaces the resolved prefix with the unmatched component instead of appending to it, discarding everything matched so far.