Jump to content

Additions to ISidescreenButtonControl crash all mods using it


asquared31415
  • Branch: Preview Branch Version: Linux Pending

Occurs on all platforms under the 548219 update that added the new method.

Adding methods to an interface is a breaking change for all mods that extend the interface.  The mod's already compiled code does not have that method, so when the compiled mod type is loaded, the game crashes (even if the method is never called).

 


Steps to Reproduce

0. sample mod provided that does step 1

1. Compile a mod that has a class extending ISidescreenButtonControl targeting the assemblies from the current stable version of the game, 546664, and that creates an instance of that class.

2. Launch the public testing version of the game (548219) and enable the mod.

3. Restart to cause the mod to load.

4. Crash due to interface changes.

 

TestMod.zip

  • Like 2



User Feedback


There are no comments to display.



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...