post-kerbin-mining-corporation / HeatControl

Adds more radiators to Kerbal Space Program
13 stars 15 forks source link

B9PartSwitch issues with 2 parts #43

Closed Gordon-Dry closed 2 years ago

Gordon-Dry commented 3 years ago

GameData\HeatControl\Parts\Radiators\radiator-microchannel\radiator-microchannel-fixed-1.cfg GameData\HeatControl\Parts\Radiators\radiator-microchannel\radiator-microchannel-fixed-2.cfg

Exceptions thrown:

Warning on PartSubtype Double on module ModuleB9PartSwitch (moduleID='sizeSwitch') on part radiator-microchannel-fixed-1: Could not find matching module 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
Exception: Could not find matching module
  at B9PartSwitch.ModuleMatcher.FindModule (Part part) [0x00057] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.ModuleModifierInfo+<CreatePartModifiers>d__10.MoveNext () [0x000b8] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.PartSubtype.Setup (B9PartSwitch.ModuleB9PartSwitch parent, System.Boolean displayWarnings) [0x00754] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
B9PartSwitch.PartSubtype:Setup(ModuleB9PartSwitch, Boolean)
B9PartSwitch.ModuleB9PartSwitch:InitializeSubtypes(Boolean)
B9PartSwitch.ModuleB9PartSwitch:GetInfo()
PartLoader:CompilePartInfo(AvailablePart, Part)
<CompileParts>d__56:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: <2aacd5f344de4b4cbd0690767697fdd6> Line: 0)

DontDestroyOnLoad only works for root GameObjects or components on root GameObjects. 
(Filename:  Line: 589)

Warning on PartSubtype Square on module ModuleB9PartSwitch (moduleID='sizeSwitch') on part radiator-microchannel-fixed-1: Could not find matching module 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Exception: Could not find matching module
  at B9PartSwitch.ModuleMatcher.FindModule (Part part) [0x00057] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.ModuleModifierInfo+<CreatePartModifiers>d__10.MoveNext () [0x000b8] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.PartSubtype.Setup (B9PartSwitch.ModuleB9PartSwitch parent, System.Boolean displayWarnings) [0x00754] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
B9PartSwitch.PartSubtype:Setup(ModuleB9PartSwitch, Boolean)
B9PartSwitch.ModuleB9PartSwitch:InitializeSubtypes(Boolean)
B9PartSwitch.ModuleB9PartSwitch:GetInfo()
PartLoader:CompilePartInfo(AvailablePart, Part)
<CompileParts>d__56:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: <2aacd5f344de4b4cbd0690767697fdd6> Line: 0)

DontDestroyOnLoad only works for root GameObjects or components on root GameObjects. 
(Filename:  Line: 589)

Warning on PartSubtype TwoThirds on module ModuleB9PartSwitch (moduleID='sizeSwitch') on part radiator-microchannel-fixed-1: Could not find matching module 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Exception: Could not find matching module
  at B9PartSwitch.ModuleMatcher.FindModule (Part part) [0x00057] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.ModuleModifierInfo+<CreatePartModifiers>d__10.MoveNext () [0x000b8] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.PartSubtype.Setup (B9PartSwitch.ModuleB9PartSwitch parent, System.Boolean displayWarnings) [0x00754] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
B9PartSwitch.PartSubtype:Setup(ModuleB9PartSwitch, Boolean)
B9PartSwitch.ModuleB9PartSwitch:InitializeSubtypes(Boolean)
B9PartSwitch.ModuleB9PartSwitch:GetInfo()
PartLoader:CompilePartInfo(AvailablePart, Part)
<CompileParts>d__56:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: <2aacd5f344de4b4cbd0690767697fdd6> Line: 0)

DontDestroyOnLoad only works for root GameObjects or components on root GameObjects. 
(Filename:  Line: 589)

Warning on PartSubtype Half on module ModuleB9PartSwitch (moduleID='sizeSwitch') on part radiator-microchannel-fixed-1: Could not find matching module 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Exception: Could not find matching module
  at B9PartSwitch.ModuleMatcher.FindModule (Part part) [0x00057] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.ModuleModifierInfo+<CreatePartModifiers>d__10.MoveNext () [0x000b8] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.PartSubtype.Setup (B9PartSwitch.ModuleB9PartSwitch parent, System.Boolean displayWarnings) [0x00754] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
B9PartSwitch.PartSubtype:Setup(ModuleB9PartSwitch, Boolean)
B9PartSwitch.ModuleB9PartSwitch:InitializeSubtypes(Boolean)
B9PartSwitch.ModuleB9PartSwitch:GetInfo()
PartLoader:CompilePartInfo(AvailablePart, Part)
<CompileParts>d__56:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: <2aacd5f344de4b4cbd0690767697fdd6> Line: 0)

DontDestroyOnLoad only works for root GameObjects or components on root GameObjects. 
(Filename:  Line: 589)

Warning on PartSubtype Third on module ModuleB9PartSwitch (moduleID='sizeSwitch') on part radiator-microchannel-fixed-1: Could not find matching module 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Exception: Could not find matching module
  at B9PartSwitch.ModuleMatcher.FindModule (Part part) [0x00057] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.ModuleModifierInfo+<CreatePartModifiers>d__10.MoveNext () [0x000b8] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.PartSubtype.Setup (B9PartSwitch.ModuleB9PartSwitch parent, System.Boolean displayWarnings) [0x00754] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
B9PartSwitch.PartSubtype:Setup(ModuleB9PartSwitch, Boolean)
B9PartSwitch.ModuleB9PartSwitch:InitializeSubtypes(Boolean)
B9PartSwitch.ModuleB9PartSwitch:GetInfo()
PartLoader:CompilePartInfo(AvailablePart, Part)
<CompileParts>d__56:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: <2aacd5f344de4b4cbd0690767697fdd6> Line: 0)

DontDestroyOnLoad only works for root GameObjects or components on root GameObjects. 
(Filename:  Line: 589)

PartLoader: Compiling Part 'HeatControl/Parts/Radiators/radiator-microchannel/radiator-microchannel-fixed-2/radiator-microchannel-fixed-2' 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

PartLoader Warning: Variable RSSROConfig not found in Part 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Warning on PartSubtype 45 on module ModuleB9PartSwitch (moduleID='sizeSwitch') on part radiator-microchannel-fixed-2: Could not find matching module 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Exception: Could not find matching module
  at B9PartSwitch.ModuleMatcher.FindModule (Part part) [0x00057] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.ModuleModifierInfo+<CreatePartModifiers>d__10.MoveNext () [0x000b8] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.PartSubtype.Setup (B9PartSwitch.ModuleB9PartSwitch parent, System.Boolean displayWarnings) [0x00754] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
B9PartSwitch.PartSubtype:Setup(ModuleB9PartSwitch, Boolean)
B9PartSwitch.ModuleB9PartSwitch:InitializeSubtypes(Boolean)
B9PartSwitch.ModuleB9PartSwitch:GetInfo()
PartLoader:CompilePartInfo(AvailablePart, Part)
<CompileParts>d__56:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: <2aacd5f344de4b4cbd0690767697fdd6> Line: 0)

DontDestroyOnLoad only works for root GameObjects or components on root GameObjects. 
(Filename:  Line: 589)

Warning on PartSubtype 30 on module ModuleB9PartSwitch (moduleID='sizeSwitch') on part radiator-microchannel-fixed-2: Could not find matching module 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Exception: Could not find matching module
  at B9PartSwitch.ModuleMatcher.FindModule (Part part) [0x00057] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.ModuleModifierInfo+<CreatePartModifiers>d__10.MoveNext () [0x000b8] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.PartSubtype.Setup (B9PartSwitch.ModuleB9PartSwitch parent, System.Boolean displayWarnings) [0x00754] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
B9PartSwitch.PartSubtype:Setup(ModuleB9PartSwitch, Boolean)
B9PartSwitch.ModuleB9PartSwitch:InitializeSubtypes(Boolean)
B9PartSwitch.ModuleB9PartSwitch:GetInfo()
PartLoader:CompilePartInfo(AvailablePart, Part)
<CompileParts>d__56:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: <2aacd5f344de4b4cbd0690767697fdd6> Line: 0)

DontDestroyOnLoad only works for root GameObjects or components on root GameObjects. 
(Filename:  Line: 589)

Warning on PartSubtype 22 on module ModuleB9PartSwitch (moduleID='sizeSwitch') on part radiator-microchannel-fixed-2: Could not find matching module 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Exception: Could not find matching module
  at B9PartSwitch.ModuleMatcher.FindModule (Part part) [0x00057] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.ModuleModifierInfo+<CreatePartModifiers>d__10.MoveNext () [0x000b8] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.PartSubtype.Setup (B9PartSwitch.ModuleB9PartSwitch parent, System.Boolean displayWarnings) [0x00754] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
B9PartSwitch.PartSubtype:Setup(ModuleB9PartSwitch, Boolean)
B9PartSwitch.ModuleB9PartSwitch:InitializeSubtypes(Boolean)
B9PartSwitch.ModuleB9PartSwitch:GetInfo()
PartLoader:CompilePartInfo(AvailablePart, Part)
<CompileParts>d__56:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: <2aacd5f344de4b4cbd0690767697fdd6> Line: 0)

DontDestroyOnLoad only works for root GameObjects or components on root GameObjects. 
(Filename:  Line: 589)

Warning on PartSubtype 15 on module ModuleB9PartSwitch (moduleID='sizeSwitch') on part radiator-microchannel-fixed-2: Could not find matching module 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Exception: Could not find matching module
  at B9PartSwitch.ModuleMatcher.FindModule (Part part) [0x00057] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.ModuleModifierInfo+<CreatePartModifiers>d__10.MoveNext () [0x000b8] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
  at B9PartSwitch.PartSubtype.Setup (B9PartSwitch.ModuleB9PartSwitch parent, System.Boolean displayWarnings) [0x00754] in <2aacd5f344de4b4cbd0690767697fdd6>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
B9PartSwitch.PartSubtype:Setup(ModuleB9PartSwitch, Boolean)
B9PartSwitch.ModuleB9PartSwitch:InitializeSubtypes(Boolean)
B9PartSwitch.ModuleB9PartSwitch:GetInfo()
PartLoader:CompilePartInfo(AvailablePart, Part)
<CompileParts>d__56:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

(Filename: <2aacd5f344de4b4cbd0690767697fdd6> Line: 0)

Log and stuff: https://www.dropbox.com/s/shcne0e4l2j5168/KSP%20logs%202021-11-09-01.7z?dl=1

Gordon-Dry commented 2 years ago

To be fixed with: https://github.com/Starwaster/RealActiveRadiators/pull/4