New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.22.2 ArgumentOutOfRangeException: Argument is out of range: Parameter name: index #618
Comments
In DMagic's science thread, I had posted about the problem. He popped over here and looked at the trace and came to the conclusion that the contract parameters are not being updated because the trace above is interrupting the scanning. If it has to do with an active Rendezvous contract, I do have one--from Historical Progression, the Gemini 7 and 6A rendezvous. It reads like a bug in CC; it may be exacerbated by something incorrect in Historical Progression. For reference, I've included the
|
I can confirm that this is the problem. After I manually edited the save to make this contract as "Completed", the other contracts began updating properly. Must be either that CC has a bug, or it's not protecting itself from badly written contracts (which is arguably a bug :D). |
We made a bunch of changes in KSP 1.2 to prevent a lot of stuff like this from happening (one mod throwing an exception and breaking stuff in other mods or stock KSP). Alas, this is one integration point we've missed, so I've put in a request to get that problem fixed in stock. As to the issue with the Rendezvous parameter, that should be a fairly straightforward fix with all the details you've provided in your report. |
Fixed for next release. Note that the contract is now correctly shown as invalid and doesn't get loaded, so @pap1723 will need to add a |
I was perusing my log and noticed this. What got me to looking through the log is that some simple contract conditions aren't triggering (liking flying at X meters at Y speed, or orbital inclination of Y), whereas previously they were.
The text was updated successfully, but these errors were encountered: