Jump to content

[1.12.5] SSOUPP - Super Science Orbital Utilities Part Pack, and more!


Lil_Bread402

Recommended Posts

  • 6 months later...

@Lil_Bread402 Supermodule is throwing out these errors on repeat: 

Quote

[EXC 13:05:40.638] NullReferenceException: Object reference not set to an instance of an object
    ModuleScienceLab.updateModuleUI () (at <4b449f2841f84227adfaad3149c8fdba>:0)
    ModuleScienceLab.onPartActionUI (Part p) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    EventData`1[T].Fire (T data) (at <4b449f2841f84227adfaad3149c8fdba>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    EventData`1:Fire(Part)
    UIPartActionWindow:CreatePartList(Boolean)
    UIPartActionWindow:UpdateWindow()
    UIPartActionController:UpdateActiveWindows()
    UIPartActionController:UpdateFlight()
    UIPartActionController:Update()
[ERR 13:05:40.681] Exception handling event onPartActionUICreate in class ModuleScienceLab:System.NullReferenceException: Object reference not set to an instance of an object
  at ModuleScienceLab.updateModuleUI () [0x00000] in <4b449f2841f84227adfaad3149c8fdba>:0 
  at ModuleScienceLab.onPartActionUI (Part p) [0x00025] in <4b449f2841f84227adfaad3149c8fdba>:0 
  at EventData`1[T].Fire (T data) [0x000b0] in <4b449f2841f84227adfaad3149c8fdba>:0 

Here's the full logs:

https://www.dropbox.com/scl/fo/1r1gnplr3kou3du6t3k66/h?rlkey=xy4myosj0wtzayda5fq20lx2q&dl=0

Link to comment
Share on other sites

21 minutes ago, GoldForest said:

@Lil_Bread402 Supermodule is throwing out these errors on repeat: 

Here's the full logs:

https://www.dropbox.com/scl/fo/1r1gnplr3kou3du6t3k66/h?rlkey=xy4myosj0wtzayda5fq20lx2q&dl=0

This is a pretty common cfg error.

The issue is:

containerModuleIndex = 0

in the ModuleScienceLab module. It must point to the ModuleScienceContainer module. So, you can either move the container module to be the first declared module, or you can count how many MODULE {} tags there are until you get to where the container is now. Looks like it's either 8 or 9, can't remember if the index is 0- or 1-based.

Edit: It's zero-based, so if you change the 0 to an 8 it should be happy, I think!

Edited by OrbitalManeuvers
Link to comment
Share on other sites

9 minutes ago, OrbitalManeuvers said:

This is a pretty common cfg error.

The issue is:

containerModuleIndex = 0

in the ModuleScienceLab module. It must point to the ModuleScienceContainer module. So, you can either move the container module to be the first declared module, or you can count how many MODULE {} tags there are until you get to where the container is now. Looks like it's either 8 or 9, can't remember if the index is 0- or 1-based.

Edit: It's zero-based, so if you change the 0 to an 8 it should be happy, I think!

Thanks! I'll have to test the fix later unfortunately, need to head off to bed.

Link to comment
Share on other sites

17 hours ago, OrbitalManeuvers said:

This is a pretty common cfg error.

The issue is:

containerModuleIndex = 0

in the ModuleScienceLab module. It must point to the ModuleScienceContainer module. So, you can either move the container module to be the first declared module, or you can count how many MODULE {} tags there are until you get to where the container is now. Looks like it's either 8 or 9, can't remember if the index is 0- or 1-based.

Edit: It's zero-based, so if you change the 0 to an 8 it should be happy, I think!

It worked. No more error, thanks!

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...