Beef icon indicating copy to clipboard operation
Beef copied to clipboard

[Bug?] Hovering mouse pointer over float2 gives random values

Open marsej opened this issue 4 years ago • 2 comments

Maybe some sort of corruption in memory, only Debug build seems affected, particularly when stepping through the code. I previously saw this issue because I was step by step comparing the values shown when hovering mouse over variables.

			//positions
			var shooterPosition = float2(0f, 0f);
			var targetPosition = float2(100f, 100f);
			//velocities
			var shooterVelocity = float2(5f, 10f);
			var targetVelocity = float2(10f, 3f);

			let targetRelativeVelocity = targetVelocity - shooterVelocity; // hovering over targetRelativeVelocity shows different values each time
BP			let targetRelativePosition = targetPosition - shooterPosition;

Just hover mouse over let >targetRelativeVelocity< (set BP on the next line) and re-run and see the values change in debugger.

0.43.0 64 bit debug win10 0.43.1 same result

marsej avatar Apr 02 '21 13:04 marsej

beef Hovering mouse pointer over float2 gives random values beef Hovering mouse pointer over float2 gives random values 2

marsej avatar Dec 12 '21 14:12 marsej