[Bug]: Regression in 0.5.5 breaks mods loading order
dakyneko opened this issue ยท 0 comments
All of the following criteria must be met
- All Requirements must be installed.
- Full
Latest.log
file included. If no file exists then leave this unchecked and state so.
All of the following are optional to answer
- Tried reinstalling the Game.
- Tried reinstalling MelonLoader.
- Tried restarting PC.
- Was able to see the Start Screen.
Describe the issue.
I noticed new version 0.5.5 changed the order in which mod OnApplicationStart are called even with correct dependency set through annotations. Mod B dependant on mod A could be init first, in the wrong order causing failure and crash.
we noted the bug through log printing in the said function:
[23:14:57.409] [ActionMenuAvatarsList] ActionMenuAvatarsList OnApplicationStart start
[23:14:57.412] [Action_Menu] OnApplicationStart actionmenu, instance set
The first depends on the second one. In v0.5.4 the order was correct and there was no issue.
Expected behavior: keep the order of loading the same as in v0.5.4 or honor the dependency order described by annotations like :
[assembly: MelonAdditionalDependencies("ActionMenu")]
Did you attach your log file?
- Yes, I attached my log file to the text box above.
- No, I could not find a log file at
{Game_Directory}\MelonLoader\Latest.log