I call “Reload” function, it causes a breakpoint, but it dosn’t trigger a breakpoint in the “Reload” definition. "Gun refrence is correct as it works with shooting.
It worked before I changed a random variable and then it stopped working.
I would guess it’s just optimized by the compiler so it doesn’t hit the breakpoint, but it should stil run
If you want to disable optimization, you can wrap your functions with the macros PRAGMA_ENABLE_OPTIMIZATION_ACTUAL
and PRAGMA_DISABLE_OPTIMIZATION_ACTUAL