Hi all! Lately I’ve been encountering really random values in the integer variables from my custom data struct that holds all the parameter values (contains bools, ints, floats and doubles, and other structs that contain more of those data).
The problem is the int values would randomly take the value 1065353216, which I’ve found that is the unsigned int representation for the float 1.0. And by randomly I mean for example in oscillator the ints take a correct value, but oscillator contains some 1065353216 int value and some correct ones). On startup, before even processing anything (and after correctly initializing the whole data struct with hard coded values).
When I use floats instead of ints in the struct the problem just goes away. Does anyone encountered the same problem?