mojira.dev
MC-252216

65540: Invalid scancode -1 logged in key bind menu when an option is unbound

When opening the key bind menu with any option unbound the following is logged:

########## GL ERROR ##########
@ Render
65540: Invalid scancode -1

This happens once when the game first loads and the menu is opened, and only happens again once the game is restarted and the menu is opened and scrolled through to where an unbound option is present.

Linked issues

Attachments

Comments 10

I can confirm this behavior.

Present in Pre-release 4

Can also confirm in 1.19 Release Candidate 2.

[media]

i fixed this issue by reinstalling java it may help if you do that

Hey any news?
Because i have a Server with mods on it and only 2 People have it wehen they sneak this Error and everyone else not only these two. The server said it was a Entity and even if there is no entity around

We tryed to reinstall Java but it doesn't work

Can confirm in 1.19.1.

[09:30:18] [Render thread/ERROR] (Minecraft) ########## GL ERROR ##########
[09:30:18] [Render thread/ERROR] (Minecraft) @ Render
[09:30:18] [Render thread/ERROR] (Minecraft) 65540: Invalid scancode -1

 

Stumbled upon this during fabric modding, it appears when I try to create a keybind

The keybind does not work after the error, by the way

Please do take into consideration however that we only take in/update bug reports if the behavior can be reproduced under completely vanilla circumstances. 🙂

can confirm, happens in various versions (1.18.2, 1.19.3, 1.19.4 among others), macOS (ventura 13.4, but also previously in 12.x, ever since i got this macbook). Perhaps this is a macOS thing? Doesn't seem to impact the game at all though.

try to change a disk for your .minecraft, i solve it in this way

mattp12

billysjoberg

Community Consensus

Low

Debug

1.19 Pre-release 3, 1.19 Pre-release 4, 1.19 Pre-release 5, 1.19 Release Candidate 1, 1.19 Release Candidate 2, ..., 23w14a, 23w16a, 23w17a, 23w18a, 1.20 Pre-release 1

1.20 Pre-release 2

Retrieved