Closed Haselnussbomber closed 4 months ago
If I remember correctly, this is a bit of a race between the compiler/Packager building things and our own code. I’ve seen similar issues happen on normal systems in response to just bad luck.
We may consider making this more resilient though.
I've had issues with devdrive in general. I tried building a discord bot and when it was running from the devdrive it would randomly fail to connect with a huge ssl error. When I moved it to a regular drive it was all fine. I've also seen it not being able to load files; similar to this.
I think there are some issues with devdrive in general; which may not be fixable here other than trying again but it will just keep failing likely
I didn't test this explicitly, but I removed the code that would write to the manifest when reloading. Please reopen this if you're still running into issues.
It looks like microsoft fixed this on their end. I haven't really had issues like this with devdrive for a while now. When it was just introduced it happened regularly.
I've recently upgraded to the Windows 11 Insider Preview and have set up a Dev Drive that uses ReFS. Every now and then, Dalamud can't reload my Dev Plugin and fails with these errors:
As a workaround I simply rebuild the plugin again.
The json file is generated by DalamudPackager v2.1.11.
Maybe the code in https://github.com/goatcorp/Dalamud/blob/master/Dalamud/Plugin/Internal/Types/LocalDevPlugin.cs#L127 should check if all needed files are accessible, and if not, retry a few times. Or, probably better, the packager should send a notification to Dalamud vid IPC after it’s done.