Description
I'm working on a game project right now, and I'm writing some relatively complex algorithms that heavily use Vectors. The actual code itself works fine but when i try to debug the code to find logical problems, the IDE debugger shows me wildly incorrect values for results of vector math operations(eg. Vector2.Zero * 1). This seems to happen with any vector, and any operation. Again, the actual values in the running code are fine, but the debugger shows something different.
Reproduction Steps
Vector2 vec = new Vector2(10, 10);
Console.WriteLine(vec * 1);
//some dummy code with a breakpoint
While stopped at breakpoint use ide tools to view result of operation directly (like hovering over the *) or run it in the repl.
Expected behavior
Displays the same number as whats printed to the console, <10,10>
Actual behavior
Displays the correct X value but a seemingly random Y value with no evident bound.
Regression?
No response
Known Workarounds
No response
Configuration
Building for .NET 10 using .NET sdk 10.0.201
MacOS 26.5 ARM64
Reproducible in both Jetbrains Rider and VScode
Other information
No response
Description
I'm working on a game project right now, and I'm writing some relatively complex algorithms that heavily use Vectors. The actual code itself works fine but when i try to debug the code to find logical problems, the IDE debugger shows me wildly incorrect values for results of vector math operations(eg.
Vector2.Zero * 1). This seems to happen with any vector, and any operation. Again, the actual values in the running code are fine, but the debugger shows something different.Reproduction Steps
While stopped at breakpoint use ide tools to view result of operation directly (like hovering over the *) or run it in the repl.
Expected behavior
Displays the same number as whats printed to the console, <10,10>
Actual behavior
Displays the correct X value but a seemingly random Y value with no evident bound.
Regression?
No response
Known Workarounds
No response
Configuration
Building for .NET 10 using .NET sdk 10.0.201
MacOS 26.5 ARM64
Reproducible in both Jetbrains Rider and VScode
Other information
No response