TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!
Apache License 2.0
146 stars 76 forks source link

Torch doesn't load mod list from sandbox.sbc #25

Closed mccorkle closed 7 years ago

mccorkle commented 7 years ago

How to reproduce:

NOTE: it does look like Sandbox.sbc is getting written when I click "save Config" and it does have the proper mods. The part that is failing is when I load torch again, it appears to have the old mod list.

What did I expect to happen?

Versions:

mccorkle commented 7 years ago

This appears to have been resolved as of newest torch (or perhaps just because I used stock SEDS, not sure). Either way, I will retest as soon as we get 181 working.

mccorkle commented 7 years ago

I'm getting this when I attempted to change the mod list from the Torch UI:

2017-06-18 11:15:23.3344 [INFO] Config: Saved DS config. 2017-06-18 11:15:23.3494 [ERROR] Config: Failed to write sandbox config, changes will not appear on server 2017-06-18 11:15:23.3494 [ERROR] Config: System.NullReferenceException: Object reference not set to an instance of an object. at Torch.Server.Views.ConfigControl.SaveConfig()

Torch 1.0.168.389 se 1.181.202 Windows server 2012 R2

Jimmacle commented 7 years ago

That usually happens when it can't find the world that you set in the config. Sometimes it's right, sometimes it's magic keen issues.

mccorkle commented 7 years ago

I figured out what the reproduce case is:

2017-06-23 11:47:54.5451 [INFO] Config: Saved DS config.
2017-06-23 11:47:54.5471 [ERROR] Config: Failed to write sandbox config, changes
 will not appear on server
2017-06-23 11:47:54.5471 [ERROR] Config: System.NullReferenceException: Object r
eference not set to an instance of an object.
   at Torch.Server.Views.ConfigControl.SaveConfig()

But this is a user error (I should exit Torch after I stop server), so I'm closing this bug :-)