source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

"Ignoring unreasonable position" console spam fix

Open speedvoltage opened this issue 9 months ago • 0 comments

Issue: The log was often cluttered with the message "Ignoring unreasonable position" because the engine was picking up on unrealistic entity positions. This happened due to floating-point precision issues or incorrect calculations that led to coordinates being way too large or invalid. These repetitive log entries were spamming the console.

Fix: Implemented a stronger validation check to make sure that position values stay within a sensible range before they trigger an error log. This cuts down on the number of irrelevant warnings and makes sure that only genuinely problematic entity positions get flagged, which enhances the clarity of debugging.

speedvoltage avatar Mar 14 '25 21:03 speedvoltage