VenVen / Stock-Revamp

32 stars 38 forks source link

Something funny with HeatShieldS0.mu? #83

Closed Kerbas-ad-astra closed 8 years ago

Kerbas-ad-astra commented 8 years ago

I've been tracking down various part loading errors in my game (I've got some corrections for some of this mod's prune-files and part files coming in a PR soon), and here's one that seems to be with a model file (which then prevents the HeatShield0 part from being compiled later):

Load(Model): VenStockRevamp/Squad/Parts/Heatshields/HeatShieldS0

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

File error:
Failed to read past end of stream.
  at System.IO.BinaryReader.ReadByte () [0x00000] in <filename unknown>:0 

  at System.IO.BinaryReader.Read7BitEncodedInt () [0x00000] in <filename unknown>:0 

  at System.IO.BinaryReader.ReadString () [0x00000] in <filename unknown>:0 

  at PartReader.ReadTextures (System.IO.BinaryReader br, UnityEngine.GameObject o) [0x00000] in <filename unknown>:0 

  at PartReader.ReadChild (System.IO.BinaryReader br, UnityEngine.Transform parent) [0x00000] in <filename unknown>:0 

  at PartReader.Read (.UrlFile file) [0x00000] in <filename unknown>:0 

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

Model load error in 'C:\Program Files (x86)\Steam\SteamApps\common\Kerbal Space Program\GameData\VenStockRevamp\Squad\Parts\Heatshields\HeatShieldS0.mu'

I have no experience with editing model files, but looking at HeatShieldS0 and S1 in Notepad++, they seem to be identical save their first lines.

Kerbas-ad-astra commented 8 years ago

The model change in 8d8c98d seems to have fixed the issue. Thanks!