Search Issue Tracker

By Design

Votes

0

Found in [Package]

1.4.1

Issue ID

ISXB-230

Regression

No

EditorLoop produces lag spikes and input drops when spamming left-click

Package: New Input System Bugs

-

How to reproduce:
1. Open the user's attached "TDS5" project
2. Enter Play mode
3. Spam left-click with the mouse for ~10 seconds

Expected result: The game does not stutter, all bullets are fired successfully
Actual result: The game stutters, sometimes the bullets do not fire

Reproducible with: 1.3.0 (2020.3.37f1, 2021.3.6f1, 2022.1.8f1), 1.4.1 (2022.2.0a18, 2023.1.0a2)

Reproducible on: Windows 10

Note: Try using a fast autoclicker if it doesn't reproduce

  1. Resolution Note:

    Closing this as designed since WasPressedThisFrame is not an appropriate method of evaluating input for this use-case. Provided an alternative approach that fits this use-case better based off the provided reproduction project.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.