Jump to content

[1.1.1] vessel.GetActiveResources() no longer works


Recommended Posts

As a heads-up: with the 1.1.1 update that just landed, I now get this when I call vessel.GetActiveResources() (with a valid vessel):

[EXC 16:19:20.651] NullReferenceException: Object reference not set to an instance of an object
	Vessel.GetActiveResources ()
	JSI.RPMVesselComputer.FetchPerPartData ()
	JSI.RPMVesselComputer.UpdateVariables ()
	JSI.RPMVesselComputer.FixedUpdate ()

EDIT: Actually Vessel.GetActiveResource throws an exception, too.  I'll have to wrap these in try/catch blocks to see if it's completely broken now, or only for resources that aren't on board the craft.

EDIT2: Nope, GetActiveResource is also no longer functional.

Edited by MOARdV
Post scripts
Link to comment
Share on other sites

Turns out this is a stock bug - clean install, launch a craft, open the resource doo-dad on the app bar, and press "Stage View" or however it's labeled, and the display goes blank, and the log is spammed with exceptions.  oops.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...