tgruetzm / Snacks

Kerbal Space Program mod to add a simple life support system based on Snacks!
MIT License
3 stars 19 forks source link

GetUniversalTime () #7

Open ghost opened 9 years ago

ghost commented 9 years ago

I posted this on the KSP forums under your Snacks mod, but thought I should also post it here, I was looking through my output_Log files and noticed that snacks had a LOT, and I mean A LOT of the following messages while my game was stuck at the loading screen (not being caused by your mod):

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49) Snacks - FixedUpdate: Object reference not set to an instance of an object at Planetarium.GetUniversalTime () [0x00000] in :0 at Snacks.SnackController.FixedUpdate () [0x00000] in :0

jenyaza01 commented 8 years ago

See this lines on loaging screen (in Alt+F2) too, but none of them in the actual game (flight scene). Maybe you can initialise your mod after the game loaded, in main menu? Used the last verson 0.3.5 on KSP 1.0.5.1028.