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

NullRef in Science Mode #527

Closed
SirMortimer opened this issue Nov 6, 2019 · 2 comments
Closed

NullRef in Science Mode #527

SirMortimer opened this issue Nov 6, 2019 · 2 comments

Comments

@SirMortimer
Copy link
Contributor

SirMortimer commented Nov 6, 2019

The surface sample experiment checks for facility levels, which gives a null ref in science mode games.

[EXC 09:43:24.573] NullReferenceException: Object reference not set to an instance of an object
	KERBALISM.ExperimentRequirements.GetFacilityLevel (SpaceCenterFacility facility) (at <8a4e42ca56234bf4a928e828c42914e6>:0)
	KERBALISM.ExperimentRequirements.TestRequirements (Vessel v, KERBALISM.ExperimentRequirements+RequireResult[]& results, System.Boolean testAll) (at <8a4e42ca56234bf4a928e828c42914e6>:0)
	KERBALISM.Experiment.RunningUpdate (Vessel v, KERBALISM.VesselData vd, KERBALISM.Situation vs, KERBALISM.Experiment prefab, System.UInt32 hdId, System.Boolean didPrepare, System.Boolean isShrouded, KERBALISM.ResourceInfo ec, KERBALISM.VesselResources resources, System.Collections.Generic.List`1[T] resourceDefs, KERBALISM.ExperimentInfo expInfo, KERBALISM.Experiment+RunningState expState, System.Double elapsed_s, System.Int32& lastSituationId, System.Double& remainingSampleMass, KERBALISM.SubjectData& subjectData, System.String& mainIssue) (at <8a4e42ca56234bf4a928e828c42914e6>:0)
	KERBALISM.Experiment.FixedUpdate () (at <8a4e42ca56234bf4a928e828c42914e6>:0)

Reported by FloatingMongoose

@gotmachine
Copy link
Collaborator

Urgh... who plays science mode ?

@SirMortimer
Copy link
Contributor Author

Apparently, we don't do it often enough ;)

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

No branches or pull requests

2 participants