Search Issue Tracker

Fixed

Fixed in 2021.3.32f1, 2022.3.11f1, 2023.3.0a6

Votes

6

Found in

2021.3.9f1

2022.3.8f1

2023.3.0a3

Issue ID

UUM-16523

Regression

No

"Invalid raw input data size: 0 bytes" errors are thrown when testing a Build on Steam Deck

--

-

How to reproduce:
1. Open the attached “InputSteamDeck.zip“ project from Google Drive
2. Build the project
3. Open the project on Steam Deck and observe

Expected result: Warnings are thrown instead of errors.
Actual result: Errors are thrown.

Reproducible with: 2021.3.9f1
Could not test with: 2020.3.40f1, 2022.1.18f1, 2022.2.0b9, 2023.1.0a11 (Do not have access to a Steam Deck)

Errors:

Invalid raw input data size: 0 bytes

UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.Windows.Input:ForwardRawInput (uint,uint,uint,byte*,uint)
Rewired.Internal.Windows.Functions:ForwardRawInput (intptr,intptr,uint,intptr,uint)
Rewired.Utils.ExternalTools:WindowsStandalone_ForwardRawInput (intptr,intptr,uint,intptr,uint)
UcebnovMRXUhXfmXMDfqLrJTnmob:vGsaLotBEBzTjxjsYvGTiifBrHxS (byte\[],uint\[],uint\[],uint&,uint&)
UcebnovMRXUhXfmXMDfqLrJTnmob:xJdaUztzVbxGebwbpDiMEhSaiuhb (intptr,double)
UcebnovMRXUhXfmXMDfqLrJTnmob:ApmsWFfFKjsRSWSTRtneYlzBIRtR (intptr,uint,intptr,intptr)
QglpTFQNvvBySbsAmUHYGDvvRXDF:ApmsWFfFKjsRSWSTRtneYlzBIRtR (intptr,uint,intptr,intptr)
trBISPOPmjmOLqJgkcJCgvuhcjXhb:mFnFhEfXOCCoufQGgFbeAwstwzaOA (intptr,uint,intptr,intptr)

Notes: Bug is reproducible on Steam Deck, the user wants to get a warning instead of the errors.

  1. Resolution Note (fix version 2023.3.0a6):

    Invalid raw data error for zero bytes input has been downgraded to a warning

  2. Resolution Note (fix version 2021.3.32f1):

    Invalid raw data error for zero bytes input has been downgraded to a warning

Comments (4)

  1. dnomn8r

    Jan 17, 2023 15:27

    It also seems to be affecting performance, with all of those logs being thrown to the console.

  2. hedgefield

    Dec 10, 2022 15:38

    Reading Guavaman's comments on this, it seems like it's a Steam Proton issue that they need to fix, probably not Unity and definitely not Rewired.

  3. hedgefield

    Dec 10, 2022 15:34

    Same thing happening to me using Rewired 1.1.44.0 + Unity 2021.3.14f and testing a build on the Steam Deck.

  4. ZurielA

    Nov 26, 2022 20:42

    Also have this issue... Using REWIRED - build on SteamDeck. Rewired using "Default Xinput Gamepad 1"

    2021.3.14f1

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.