Galileo88 / JNSQ

Other
15 stars 16 forks source link

Invalid CelestialBody Name Prax on ROC Definition EelooBerg. #30

Open 7ranceaddic7 opened 3 years ago

7ranceaddic7 commented 3 years ago

Not sure where this belongs because a few mods reference ROCManager (notably @Kerbalism, and it looks like an issue (https://github.com/Kerbalism/Kerbalism/issues/395) was raised previously that targeted EelooBerg ), but because it specifies PRAX & EelooBerg I'm dropping it here.

KSP.log

[WRN 09:53:47.886] [ROCManager]: Invalid CelestialBody Name Prax on ROC Definition EelooBerg. Removed entry.
[ERR 09:53:47.888] Exception handling event OnPSystemReady in class ROCManager:System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at ROCManager.ValidateCBBiomeCombos () [0x00314] in <55ba45dc3a43403382024deac8dcd0be>:0 
  at ROCManager.GetROCControlFromCB () [0x00000] in <55ba45dc3a43403382024deac8dcd0be>:0 
  at EventVoid.Fire () [0x00127] in <55ba45dc3a43403382024deac8dcd0be>:0 

[EXC 09:53:47.888] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
    System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
    System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
    ROCManager.ValidateCBBiomeCombos () (at <55ba45dc3a43403382024deac8dcd0be>:0)
    ROCManager.GetROCControlFromCB () (at <55ba45dc3a43403382024deac8dcd0be>:0)
    EventVoid.Fire () (at <55ba45dc3a43403382024deac8dcd0be>:0)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    EventVoid:Fire()
    <Start>d__32:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Interestingly the only place I find Prax reference as CelestialBody is in JNSQ/JNSQ_Configs/BG_Scatter.cfg.

Now, this EXC is pinned to ROC_DEFINITION[EelooBerg], but the REALLY INTERESTING thing about is this: it is not thrown on the other instances - EelooIceChunk & EelooBrownBoulder - where Prax is referenced; yet, the CelestialBody info is the same in each case.