HarbourMasters / Shipwright

3.26k stars 491 forks source link

Enabling "Use Alternate Assets" causes multiple load errors every frame #3440

Open Stenaven opened 11 months ago

Stenaven commented 11 months ago

Enabling "Use Alternate Assets" (Enhancements > Graphics > Mods > Use Alternate Assets) causes multiple errors happening every frame such as:

[D:\a\Shipwright\Shipwright\libultraship\src\resource\ResourceManager.cpp:192] [error] Failed to load resource file at path alt/objects/gameplay_keep/gFishSkel

[D:\a\Shipwright\Shipwright\libultraship\src\resource\ResourceManager.cpp:192] [error] Failed to load resource file at path alt/objects/object_link_child/gLinkChildSkel

[D:\a\Shipwright\Shipwright\libultraship\src\resource\ResourceManager.cpp:192] [error] Failed to load resource file at path alt/objects/gameplay_keep/gFairySkel

[D:\a\Shipwright\Shipwright\libultraship\src\resource\ResourceManager.cpp:192] [error] Failed to load resource file at path alt/objects/gameplay_keep/gDoorSkel

[D:\a\Shipwright\Shipwright\libultraship\src\resource\ResourceManager.cpp:192] [error] Failed to load resource file at path alt/objects/object_ka/object_ka_Skel_0065B0

[D:\a\Shipwright\Shipwright\libultraship\src\resource\ResourceManager.cpp:192] [error] Failed to load resource file at path alt/objects/object_zo/gZoraSkel

[D:\a\Shipwright\Shipwright\libultraship\src\resource\ResourceManager.cpp:192] [error] Failed to load resource file at path alt/objects/object_owl/gOwlFlyingSkel

[D:\a\Shipwright\Shipwright\libultraship\src\resource\ResourceManager.cpp:192] [error] Failed to load resource file at path alt/objects/gameplay_field_keep/gButterflySkel

The errors flood the "Ship of Harkinian.log" file. (I've uploaded .log examples of the "Use Alternate Assets" option being enabled vs disabled. For both files, I cleared the .log and started up the game and played for a few seconds looking around, spawning in Lake Hylia.)

I was investigating why my game was occasionally crashing as I was leaving/loading areas (particularly when I would enter Death Mountain Trail from Goron City or Death Mountain Crater). I was playing Randomizer. I checked the .log to see if it would tell me something, and what I mentioned here is what I discovered.

I have also tested having nothing in the "mods" folder and having mods like "daruniasjoy.otr" and/or "Djipi's 3DS Experience" in the folder, but the errors will occur either way.

I do not know coding and all of this stuff, I'm just reporting what I found. I think enabling the "Use Alternate Assets" option, in and of itself, causes occasional crashes when overloading something like the .log file.

Thank you for your time, and sorry if something technical I said is completely wrong.

[Setting Disabled] Ship of Harkinian.log [Setting Enabled] Ship of Harkinian.log

boomshroom commented 4 months ago

This still occurs and makes debugging significantly more annoying (though not impossible). Fixing this means having a better idea of what's going on when something actually unexpected happens, either from an existing bug or a new in-progress change.

I didn't realise that it only occurred with Use Alternate Assets, so I should probably turn it off when debugging. Thank you for that information.