Skip to content
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

Nulref and disappearing contracts after (forcibly) satisfying a requirement #698

Open
Morphisor244 opened this issue Nov 20, 2020 · 0 comments

Comments

@Morphisor244
Copy link

This came to my attention after testing out an issue reported by user Friznit.
His issue is that a contract isn't satisfying its CompleteContract requirement, even though he did in fact complete the previous contract. I tried to reproduce this issue, but ran into the issues described below.

In both a fully stock install and a heavily modded and progressed career install (both ksp 1.10.1 with CC 1.30.5) I was unable to even properly test the issue, because after the game starts forcibly loading in the intended contract (after disabling the requirement), a red-text nullref exception is thrown, and the contract blips out of availability. A moment later it blips back in, errors and is gone again. I reproduced this for a whole range of contracts. Even upon accepting the contract as soon as it arrives, it gets auto-declined upon removal, citing that the requirements aren't met.

I'm 100% sure cheating the contracts into availability worked before, as it was the only sane way that I could do any sort of testing when I developed this pack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant