Jump to content

C-side crash on enabling a mod with it's dependcies missing/uninstalled


Wonderlarr
  • Pending

Workshop dependencies can be set in modinfo.lua using something like the code below,

mod_dependencies = 
{
	{
		workshop = "workshop-2812783478",
		["[API] Modded Skins"] = true
	}
}

If the mods set as dependencies aren't downloaded or installed, the game will hard crash (instant close) on enabling the mod that depends on them.

 

No memory dump was made after the crash, and I don't feel like dxdiag is necessary here since it's a script crash, nothing related to graphics or sound.


Steps to Reproduce

Example steps to recreate this crash

  1. Download any mod that declares a dependency in modinfo.info, or write your own as detailed above
  2. Ensure you don't have it's dependencies installed.
  3. Attempt to enable it in any world, or load any world where it's already enabled.
  4. Observe a C side crash (according to client_log), with the game instantly closing.



User Feedback




Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...