Version: 1.1.10.0
Frequency: Consistently
Severity: Low
Marketplace package name: N/A
Context: An aircraft (all HPG helis) in flight.
Similar MSFS 2020 issue: No
Bug description:
Previously in MFS20 we could read updated package files with wasm. (So using ifstream
on a file like \\html_ui\\HPGH145-System\\Settings.json
In MFS24 once that file is modified, it can’t be read again. Since we don’t have a debugger I don’t know the specific error, but changing a single number in my config file (not adding or removing bytes) causes subsequent read operations to fail. In MFS20 we got updated content.
Repro steps:
- Install H145
- Load the aircraft
- Observe everything is OK
- modify
\\html_ui\\HPGH145-System\\Settings.json
- Bind a hotkey to
TOGGLE ALTERNATE STATIC
which requests reload - Press the hotkey
Expected: Config reloads as it does in MFS20 (seamless)
Actual: All config values go to zero and the aircraft can’t fly anymore, because the file I/O failed.
The only WASM solution now is to use work
for files that can be updated at runtime. Or funnel through a JS VFS read, which seems to still work for now.
Apologies for not having a deeper bug report on the API failure, but we have no WASM debug on MFS24 right now.
Attachments:
Private attachments: