Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.14.0
Issue ID
ISXB-1519
Regression
Yes
InvalidCastException errors are thrown in the console when downgrading the InputSystem package and then pressing any key on the keyboard
How to reproduce:
1. Create and open a new project
2. Install the InputSystem Package through Window > Package Manager
3. In the Package Manager, downgrade the package to version 1.13.1 or below, through the “+“ button > Install package by name
4. In the pop-up panel, enter “com.unity.inputsystem“ in the name field and enter “1.13.1“ in the version field below
5. Press any key on the keyboard
6. Observe the Console
Expected result: Nothing is logged in the Console
Actual result: Four (two pairs of) “InvalidCastException“ errors are logged in the Console per key press and release
Reproducible in: 1.14.0 (2022.3.61f1, 6000.0.47f1, 6000.1.0b15, 6000.2.0a9)
Not reproducible in: 1.7.0, 1.13.1 (2022.3.61f1, 6000.0.47f1, 6000.1.0b15, 6000.2.0a9)
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Notes:
- The version 1.14.0 is reproducible, in that when downgrading from it, it will cause the bug to occur
- The errors will be thrown until the project is restarted or the package is updated back to 1.14.0
- Downgrading to any other prior version to 1.14.0 will cause the bug to occur as well
- The first lines of the pair of errors read:
- ”InvalidCastException: Specified cast is not valid.”
- “InvalidCastException during event processing of Editor update; resetting event buffer“
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
- The Editor is stuttering when G-Sync is enabled and set to "Enable for windowed and full screen mode"
- USS files are not marked as dirty when an element is added to the Hierarchy
Resolution Note:
After discussions, we decided not to fix this case at this time because we don't support downgrading packages generally. There was a breaking change in 1.14 indeed, and a successful downgrade requires an editor restart to work well.