Open gawinwong opened 1 year ago
@gawinwong Thank you, let me check.
Can this issue be somehow worked around?
I presume that in my case that happens because I run the executable on headless host with virtual display and mouse position there is in a weird initial position.
This is how I launch the player:
Xvfb :66 -screen 0 1024x768x24:32 +extension GLX +render -noreset &
DISPLAY=:66 vglrun exec.x86_64 --force-glcore
Package version
3.1.0-exp.6
Environment
Steps To Reproduce
Current Behavior
No response
Expected Behavior
No response
Anything else?
After debug, I have found that this error is caused by the below code.
The
mouseState->position
sometime will be (0, NAN)Hope to fix in newer version, thanks