Open eXhumer opened 3 hours ago
This is likely triggered on both legacy and esmodule plugins, so here https://github.com/SteamDeckHomebrew/decky-loader/blob/43f22329e1b2ca4f707e6c748ea9c013337de8b2/frontend/src/plugin-loader.tsx#L425 and here https://github.com/SteamDeckHomebrew/decky-loader/blob/43f22329e1b2ca4f707e6c748ea9c013337de8b2/frontend/src/plugin-loader.tsx#L437
I think the best solution is just retrying imports a few times if they failed.
Please confirm
Bug Report Description
When the frontend for a plugin is being loaded and Steam Deck's network status changes, it will fail to load the frontend until you reboot.
This is hard to reproduce on demand as it only happens if the Steam Deck's network status changes while a plugin's frontend is being loaded, but enough reboots should make one or many plugins fail if the plugin was being loaded around the time network status changes while that plugin is being loaded.
Additional comment from @PartyWumpus in Discord, where I first reported the issue.
Expected Behaviour
No plugin loading issues while network status changes during plugin load time.
SteamOS version
SteamOS 3.6.19 Stable
Selected Update Channel
Stable
Decky Loader Version
v3.0.4-pre1
Plugin Info
Have you modified the read-only filesystem at any point?
No
Backend Logs
deckylog.txt
Used
journalctl -b -1 -u plugin_loader.service > deckylog.txt
to generate deckylog.txt as it happened on previous boot.Frontend Logs
cef_log.previous.txt cef_log.txt
cef_log.previous.txt
contains the errors, I rebooted to make sure the plugins work as expected on reboot.