The Signal State

The Signal State

View Stats:
[BUG?] Sum module giving 1+0=2
Hello

I was fiddling around with modules trying to make a counter to 0, when I realised the lower sum module is displaying an apparently incorrect result.

https://steamcommunity.com/sharedfiles/filedetails/?id=2628040883

This only happens for 1 tick; the sequence goes 5, 4, 3, 2, 2, 1

Edit: I should have fixed the link to the screenshot
< >
Showing 1-5 of 5 comments
Oct 14, 2021 @ 8:16pm 
Hi,
When u pause, the playback will pause immediately even if its midway through signal propagation, so what u are probably seeing is the moment in time where the sum module has received a new input but hasn't updated its output yet. If u resume playback it should continue propagating the signals correctly.

We're working on some ui improvements that will hopefully make this a bit clearer.
I was playing it step by step, so I don't think it's the case you described above; it also happened consistently multiple times; the 6 values I gave above are the ones that get saved to the delay module.

On the other hand, after restarting the pc today, I can't seem to recreate the issue anymore; the system counts correctly all the way to 0.
Oct 17, 2021 @ 6:23am 
Then it might be some other runtime error that occurred due to a strange edge case. Hard to say for sure. At least its not occurring again! I did try and recreate your solution and the problem did not occur for me either.
I'm able to reproduce it. It happens if you set the break point on step 5 with Breakpoint Behaviour: Break 1 Step Early. It seems it does not stop early enough and some values are already updated to the ones in the next step.
Nov 5, 2021 @ 1:40am 
Thanks for the report! We'll take a look
< >
Showing 1-5 of 5 comments
Per page: 1530 50