Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[2.01] PID not working (exception generated by vectrosity)
2017-08-13, 08:19 AM
Post: #1
[2.01] PID not working (exception generated by vectrosity)
After spending a lot of time trying to fix it in my mod, I finally tried it in vanilla, and it's still there.

Sometimes, there's an exception in Vectrosity that leads to the Plotter to crash, and FtD don't like that very much.
I have seen it for the fuel engines, the shields and the PIDs. It's probably also there for the detection.

Here is a way to reproduce it that works nearly all the time:
- Go to the designer
- Place a GP-PID on the raft
- Set the test value 1 of the PID at some random value and select 'Roll'
- Go back to the main menu
- Go to the designer
- Place a GP-PID on the raft
- Set the test value 1 of the PID at some random value and select 'Roll'
- Observe that the graph isn't working
- Observe that there are a lot of exceptions in the log

Here is the exception repeated over and over again:
Code:
NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Behaviour:get_isActiveAndEnabled ()
  at UnityEngine.EventSystems.UIBehaviour.IsActive () [0x00000] in <filename unknown>:0
  at UnityEngine.UI.Graphic.SetVerticesDirty () [0x00000] in <filename unknown>:0
  at Vectrosity.VectorObject2D.UpdateColors () [0x00000] in <filename unknown>:0
  at Vectrosity.VectorLine.SetColors (System.Collections.Generic.List`1 lineColors) [0x00000] in <filename unknown>:0
  at Plotter.Render () [0x00000] in <filename unknown>:0
  at ControlSystemGui.UpdateWhenActive (Single dt) [0x00000] in <filename unknown>:0
  at BrilliantSkies.FromTheDepths.Game.UserInterfaces.GuiDisplayBase+<Update>c__AnonStorey1.<>m__0 (IGui_GuiSystem t) [0x00000] in <filename unknown>:0
  at System.Collections.Generic.List`1[BrilliantSkies.FromTheDepths.Game.UserInterfaces.IGui_GuiSystem].ForEach (System.Action`1 action) [0x00000] in <filename unknown>:0
  at BrilliantSkies.FromTheDepths.Game.UserInterfaces.GuiDisplayBase.Update (Single dt) [0x00000] in <filename unknown>:0
  at BrilliantSkies.FromTheDepths.Game.UserInterfaces.GuiDisplayer.Update (Single dt) [0x00000] in <filename unknown>:0
  at (wrapper delegate-invoke) BrilliantSkies.FromTheDepths.Game.GameEvents/DRegularEvent:invoke_void__this___single (single)
  at (wrapper delegate-invoke) BrilliantSkies.FromTheDepths.Game.GameEvents/DRegularEvent:invoke_void__this___single (single)
  at (wrapper delegate-invoke) BrilliantSkies.FromTheDepths.Game.GameEvents/DRegularEvent:invoke_void__this___single (single)
  at (wrapper delegate-invoke) BrilliantSkies.FromTheDepths.Game.GameEvents/DRegularEvent:invoke_void__this___single (single)
  at (wrapper delegate-invoke) BrilliantSkies.FromTheDepths.Game.GameEvents/DRegularEvent:invoke_void__this___single (single)
  at (wrapper delegate-invoke) BrilliantSkies.FromTheDepths.Game.GameEvents/DRegularEvent:invoke_void__this___single (single)
  at (wrapper delegate-invoke) BrilliantSkies.FromTheDepths.Game.GameEvents/DRegularEvent:invoke_void__this___single (single)
  at BrilliantSkies.FromTheDepths.Game.GameEvents.__Update (Single t) [0x00000] in <filename unknown>:0
  at CLOCK.Update () [0x00000] in <filename unknown>:0
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)