Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with right click when using the laser pointer #6

Closed
ustaalon opened this issue Feb 18, 2024 · 0 comments
Closed

Issue with right click when using the laser pointer #6

ustaalon opened this issue Feb 18, 2024 · 0 comments
Assignees
Labels
0.1.5 bug Something isn't working

Comments

@ustaalon
Copy link
Owner

Copy from Discord channel:

So I'm not sure what's causing this and it's not immediately noticable but I have a new issue that arose but I'm not sure why
Tl;dr when right clicking (don't even need a laser)
This error spams the log each time you right click

[Error : Unity Log] NullReferenceException while executing 'canceled' callbacks of '[/Mouse/rightButton]'
[Error : Unity Log] NullReferenceException
Stack trace:
UnityEngine.Component.GetComponent[T] () (at :IL_0021)
Anubis.LC.LaserControlPlugin.Patches.FlashlightItemPatch.OnRightClickReleased (FlashlightItem __instance) (at <55d14a4fa8df44cdb4f4de7a12e14f3a>:IL_000C)
Anubis.LC.LaserControlPlugin.Patches.FlashlightItemPatch+<>c__DisplayClass10_0.b__2 (UnityEngine.InputSystem.InputAction+CallbackContext context) (at <55d14a4fa8df44cdb4f4de7a12e14f3a>:IL_0000)

@ustaalon ustaalon added the bug Something isn't working label Feb 18, 2024
@ustaalon ustaalon self-assigned this Feb 18, 2024
@ustaalon ustaalon added the 0.1.5 label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.1.5 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant