Mine doesn't appear to be working. Not sure if all or any of this helps, "[QModManager:ERROR] Invoking the specified entry method "Load" failed for mod "ExtraOptions" [QModManager:ERROR] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'ExtraOptions.Main' threw an exception. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at SMLHelper.V2.Options.Attributes.ConfigFileMetadata`1[T].invokeOnChangeEvents (SMLHelper.V2.Options.Attributes.ModOptionAttributeMetadata`1[T] modOptionMetadata, System.Object sender) [0x0017d] in <bc7691b418434a269bbbc50c3375e96d>:0 at SMLHelper.V2.Options.Attributes.ConfigFileMetadata`1[T].OptionsMenuBuilder_Config_OnFinishedLoading (System.Object sender, SMLHelper.V2.Json.ConfigFileEventArgs e) [0x00073] in <bc7691b418434a269bbbc50c3375e96d>:0 at SMLHelper.V2.Json.ConfigFile.Load (System.Boolean createFileIfNotExist) [0x00041] in <bc7691b418434a269bbbc50c3375e96d>:0 at SMLHelper.V2.Options.Attributes.OptionsMenuBuilder`1[T]..ctor () [0x00066] in <bc7691b418434a269bbbc50c3375e96d>:0 at SMLHelper.V2.Handlers.OptionsPanelHandler.SMLHelper.V2.Interfaces.IOptionsPanelHandler.RegisterModOptions[T] () [0x00006] in <bc7691b418434a269bbbc50c3375e96d>:0 at SMLHelper.V2.Handlers.OptionsPanelHandler.RegisterModOptions[T] () [0x00005] in <bc7691b418434a269bbbc50c3375e96d>:0 at ExtraOptions.Main..cctor () [0x0001e] in <f7da5df9bb6f4a19b34682ac7e27c2ae>:0 --- End of inner exception stack trace ---"
Would be nice if every mod option was displayed and configurable, is that your choice or do the mod developers choose to add their configs to the Extra Options SML?
The Thermal Spires doesn't count as underwater? That's interesting. Also there were some biomes like this in the SN version of this mod as well, so I don't think it's an exclusive issue.
17 comments
[QModManager:ERROR] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'ExtraOptions.Main' threw an exception. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SMLHelper.V2.Options.Attributes.ConfigFileMetadata`1[T].invokeOnChangeEvents (SMLHelper.V2.Options.Attributes.ModOptionAttributeMetadata`1[T] modOptionMetadata, System.Object sender) [0x0017d] in <bc7691b418434a269bbbc50c3375e96d>:0
at SMLHelper.V2.Options.Attributes.ConfigFileMetadata`1[T].OptionsMenuBuilder_Config_OnFinishedLoading (System.Object sender, SMLHelper.V2.Json.ConfigFileEventArgs e) [0x00073] in <bc7691b418434a269bbbc50c3375e96d>:0
at SMLHelper.V2.Json.ConfigFile.Load (System.Boolean createFileIfNotExist) [0x00041] in <bc7691b418434a269bbbc50c3375e96d>:0
at SMLHelper.V2.Options.Attributes.OptionsMenuBuilder`1[T]..ctor () [0x00066] in <bc7691b418434a269bbbc50c3375e96d>:0
at SMLHelper.V2.Handlers.OptionsPanelHandler.SMLHelper.V2.Interfaces.IOptionsPanelHandler.RegisterModOptions[T] () [0x00006] in <bc7691b418434a269bbbc50c3375e96d>:0
at SMLHelper.V2.Handlers.OptionsPanelHandler.RegisterModOptions[T] () [0x00005] in <bc7691b418434a269bbbc50c3375e96d>:0
at ExtraOptions.Main..cctor () [0x0001e] in <f7da5df9bb6f4a19b34682ac7e27c2ae>:0
--- End of inner exception stack trace ---"
" public void RenderImage(Camera camera, bool cameraInside, RenderTexture source, RenderTexture destination)
{
this.material.SetFloat(ShaderPropertyID._CameraInside, cameraInside ? 1f : 0f);
Graphics.Blit(source, destination, this.material);" it messes with the camera