Bug #550
KerbalEVA spawned with an uninstantated PartResourceList object
100%
Description
Using a pseudopart / singleton to access KerbalEVA when spawned allowed me to use the "AddResource" interface on the part.
NullReferenceException: Object reference not set to an instance of an object
at PartResourceList.Add (.ConfigNode node) [0x00000] in <filename unknown>:0 at Part.AddResource (.ConfigNode node) [0x00000]
(ConfigNode is properly formatted and code works on non-"First Spawn"-KerbalEVA parts.) At this point, I can successfully add a module to the KerbalEVA part, indicating that the part should be in a valid state... but adding a resource can only be done on "F5 / F9" (or leaving to spaceport and etc.)
History
#1 Updated by Squelch over 9 years ago
- Platform Win32 added
- Platform deleted (
Windows)
#2 Updated by TriggerAu over 8 years ago
- Status changed from New to Needs Clarification
#3 Updated by TriggerAu over 8 years ago
- Status changed from Needs Clarification to Closed
- % Done changed from 0 to 100
Closing this report out for now. If you find it is still occuring in the latest version of KSP please open a new report (and this one can be linked to it.) For best results, the wiki contains really useful info for when creating a report http://bugs.kerbalspaceprogram.com/projects/ksp/wiki.
You can also ask questions about the bug cleanup in the forum here: http://forum.kerbalspaceprogram.com/index.php?/topic/143980-time-to-clean-up-the-bug-tracker/ and tag @TriggerAu to get my attention