Space Engineers

Space Engineers

Smart Turrets 2 [Obsolete]
jimkey 2020 年 4 月 4 日 下午 10:51
please null exception fix
2020-04-04 22:11:36.159 - Thread: 1 -> Exception occured: ParallelTasks.TaskException: An exception(s) was thrown while executing a task.
at ParallelTasks.WorkItem.ThrowExceptionsInternal(Int32 runId)
at ParallelTasks.Task.WaitOrExecute(Boolean blocking)
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at SpaceEngineers.MyProgram.Main(String[] args)
Task exception, inner exception 0:
System.NullReferenceException: Object reference not set to an instance of an object.
at Zkillerproxy.SmartTurretMod.SmartTurretTargetingUtilities.validateTargets(WorkData tempData)
at ParallelTasks.DelegateWork.DoWork(WorkData workData)
at ParallelTasks.WorkItem.DoWork(Int32 expectedID)
< >
目前顯示第 1-9 則留言,共 9
Benny Lee 2020 年 4 月 6 日 上午 4:37 
I have got the same problem. Waiting the author to fix it.
Zelious  [開發人員] 2020 年 4 月 7 日 下午 11:45 
Should now be fixed, have a look in the Bug Reports discussion for more info.

(Also, this should really have been put there instead of in its own thread)
jimkey 2020 年 4 月 8 日 下午 12:38 
Thanks a lot! Really appreciated.
LeoRubin 2020 年 4 月 10 日 上午 8:30 
The same error still appear
2020-04-10 18:00:35.597 - Thread: 1 -> Exception occured: ParallelTasks.TaskException: An exception(s) was thrown while executing a task.
at ParallelTasks.WorkItem.ThrowExceptionsInternal(Int32 runId)
at ParallelTasks.Task.WaitOrExecute(Boolean blocking)
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at SpaceEngineers.MyProgram.Main(String[] args)
Task exception, inner exception 0:
System.NullReferenceException: Object reference not set to an instance of an object.
at Zkillerproxy.SmartTurretMod.SmartTurretTargetingUtilities.validateTargets(WorkData tempData)
at ParallelTasks.DelegateWork.DoWork(WorkData workData)
at ParallelTasks.WorkItem.DoWork(Int32 expectedID)
Zelious  [開發人員] 2020 年 4 月 10 日 下午 7:55 
@LeoRubin Can you get me a save file where that reliably occurs? I had 300 turrets shooting a massive grid for 20 mins to test that It was fixed, and it passed that test twice.
LeoRubin 2020 年 4 月 11 日 上午 12:42 
In this save it's appear at first minute https://dropmefiles.com/U5g7E
May be it works bad with some other mods.
MatteiusPrime 2020 年 4 月 23 日 上午 10:19 
Was there any luck with this? I have only 6 turrets with it on and I'm going to have to just uninstall the mod to let the game continue.
xirathonxbox  [開發人員] 2020 年 6 月 19 日 上午 8:50 
If you go to the file SmartTurretsTargeting.cs and add
try {
to line 23 just above
TargetingData data = (TargetingData)tempData;
and then go to line 217 and add
}catch { }
just below
data.validTargetID = castTargetingRay(targetTypeDictionary, data.turret);

This resolves the crash, though not an ideal fix, I'm working on a better fix and have reached out the Zkillerproxy to see if he'd like to post an update, or would allow me to do so.
Lodra 2020 年 7 月 18 日 上午 10:28 
I had to stop using this mod due to the crashing. Any update on a fix?
< >
目前顯示第 1-9 則留言,共 9
每頁顯示: 1530 50