#randomizer makes the game crashes upon entering the next screen

1 messages · Page 1 of 1 (latest)

untold geyser
#

System.Reflection.TargetParameterCountException: Parameter count mismatch.
this happened after updating some mods , not sure if there was an update for randomizer.

ember girder
#

I think this is because of the recent update to extended variants that added vanilla variants triggers

#

the new parameter in ResetToDefaultSettings breaks the reflection call in LateInitialize @compact chasm

compact chasm
#

would it be possible to get max to add a public method so this doesn't happen again

ember girder
#

it was part of the move of vanilla variants stuff into ext vars so it shouldn't happen again i'd say?

#

but worth it pinging them about it if you want to know c: (because I don't really know*)

untold geyser
#

oh yeah , i just tried it again with the vanilla maps to confirm and it works fine.

#

since i was using sc maps

ember girder
#

also does it only break on sc maps? 3celine

compact chasm
#

yeah I just saw. I think I'm only using reflection to get at it because extended variants is a soft dependency of rando

#

which is... weh

ember girder
#

ahh Isee destareline

untold geyser
ember girder
#

ah ok I see what you mean

untold geyser
#

just tried glyph and it crashes too

#

so yep

sour swallow
#

Hm yeah, I should probably restore the old method signature ohnoshiro

#

Hm, actually, in order to have the same behavior as before, the method would need to only reset extended variants, but now that the mod can also mess with vanilla variants, the randomizer probably wants to reset both vanilla and extended variants thinkeline

mystic sierra
#

@sour swallow someone else just reported the same crash, would be nice to get a resolution to this. either restoring the old interface and/or adding some ModInterop functions to reset variant types maybe?

sour swallow
mystic sierra
#

so desired behavior would be to reset everything

#

if you made an interop function you could do a full reset or split it up

#

yeah I don't see anything else using it, at least on GitHub

sour swallow
#

True yeah thinkeline

sour swallow
#

okay I replicated so I'm going to put the old method signature back now

sour swallow
#

just published an update to restore the old method signature gladeline

mystic sierra
#

thanks!

#

@untold geyser fyi, try updating extended variants and seeing if it's fixed