SSTU - Shadow Space Technologies Unlimited

SSTU - Shadow Space Technologies Unlimited

98.5k Downloads

Fuel Tank won't attach

Couchonaut opened this issue ยท 10 comments

commented

Hi

For some reason, I cant get the fuel tanks to attach when I am building rockets in the VAB. Everything else seems fine but when I try the SC-Tank-MFT-A or the SC-Tank_MUS_ST then it just kind of bounces a bit toward me and becomes unresponsive. The part lines up fine, but when I click to attach, it goes wrong. (Stock tanks and other SSTU parts attaching with no problems.)

I have done a complete reinstall of KSP, totally stock with only SSTU and it still happens.

Am on Win10 using KSP 64 1.2.2.2.1622.

Screenshots attached and any help would be appreciated as this is making SSTU a complete non-starter for me.

Thanks
lined-up
when_i_click

commented

Sounds like something is throwing an exception. Please upload KSP's log (after running KSP and observing the issue) so that we can see what's going on.

commented

Wow! That was fast!

Attached.
output_log.txt

commented

@shadowmage45 I see this, any insight as to what's going on?

PartLoader: Compiling Part 'SSTU-OptionalPatches/USI-Kontainers/SC-MFT-UKT/SSTU-SC-TANK-MFT-UKT'

ERROR: Could not locate model data for name: USI-Kontainer

Module SSTUModularFuelTank threw during OnLoad: System.NullReferenceException: Object reference not set to an instance of an object
  at SSTUTools.ModelData..ctor (.ConfigNode node) [0x00000] in <filename unknown>:0 
  at SSTUTools.SingleModelData..ctor (.ConfigNode node) [0x00000] in <filename unknown>:0 
  at SSTUTools.TankModelData..ctor (.ConfigNode node) [0x00000] in <filename unknown>:0 
  at SSTUTools.SSTUModularFuelTank+<>c.<loadConfigData>b__79_0 (.ConfigNode m) [0x00000] in <filename unknown>:0 
  at SSTUTools.ModelData.parseModels[TankModelData] (.ConfigNode[] nodes, System.Func`2 constructor) [0x00000] in <filename unknown>:0 
  at SSTUTools.SSTUModularFuelTank.loadConfigData () [0x00000] in <filename unknown>:0 
  at SSTUTools.SSTUModularFuelTank.initialize () [0x00000] in <filename unknown>:0 
  at SSTUTools.SSTUModularFuelTank.OnLoad (.ConfigNode node) [0x00000] in <filename unknown>:0 
  at PartModule.Load (.ConfigNode node) [0x00000] in <filename unknown>:0 
commented

Actually, that's probably not the issue, but I also see this being spammed:

GpuProgram creation error: shader program type is unrecognised. You might have a precompiled shader asset from an old Unity version.

@Couchonaut Could you go into the editor and try to attach a tank so that you actually see the problem, then re-upload your log?

commented

gimme 5. restarting ksp

commented

Attached - It wont let me drop the part now.

also, I have noticed bottom left in my parts list that there is a blank part 'part cube' towards the bottom of the parts list.

output_log.zip

commented

Ah, looks like the problem is that you installed SSTU-OptionalPatches which has some stuff you shouldn't.

commented

Its a bit obscure, but the MFTs are throwing an exception regarding missing a resource. Some of the resources used in the 'SSTU-OptionalPatches' are not available in the CRP that is currently distributed with SSTU (needs to be updated).

Module SSTUVolumeContainer threw during OnStart: System.NullReferenceException: Resource definition was null for name: ColonySupplies
  at SSTUTools.SubContainerDefinition..ctor (SSTUTools.ContainerDefinition container, System.String name) [0x00000] in <filename unknown>:0 
  at SSTUTools.ContainerDefinition..ctor (SSTUTools.SSTUVolumeContainer module, .ConfigNode node, Single tankTotalVolume) [0x00000] in <filename unknown>:0 
  at SSTUTools.SSTUVolumeContainer.loadConfigData () [0x00000] in <filename unknown>:0 
  at SSTUTools.SSTUVolumeContainer.OnStart (StartState state) [0x00000] in <filename unknown>:0 
  at Part.ModulesOnStart () [0x00000] in <filename unknown>:0 

Update your version of CRP to the latest from:
https://github.com/BobPalmer/CommunityResourcePack/releases/tag/0.6.5.0

And the problem should be fixed.

But if you are running the optional patches set, you really should install all of the rest of the mods that it uses as well (USI-LS, MKS, Near-Future mods), or remove the optional patches setup entirely.

(The outdated CRP is already a known issue, have updated CRP in the dev setup, but have been busy with other mods recently and haven't had time to publish an updated release).

commented

Gimme 5 - Checking and downloaded patch

commented

Awsome! It worked and thought that you would enjoy this image. :) Sent you 50...
thanks