Reproduction steps:
- Open the attached project “NativeCallbackTest”
- Enable IL2CPP (Edit > Project Settings > Player > Configuration > Scripting Backend)
- Build And Run the project (File > Build And Run)
- Press the 'F' key on your keyboard
Expected result: Nothing happens
Actual result: Crash
Reproducible with: 2020.3.44f1, 2021.3.17f1, 2022.1.24f1, 2022.2.4f1, 2023.1.0b1
Reproducible on: Windows 10