Search Issue Tracker
Fixed in 1.1-pre.6
Votes
0
Found in [Package]
preview.3 - 1.0.0
Issue ID
1215048
Regression
No
Input System Custom Binding broken / not registered when using RuntimeInitializeOnLoadMethod and loading scene directly
Steps to reproduce:
1) Open user's attached project "UnityTouchSamples.zip"
2) Make sure you have no "Scenes in Build"
3) Build
4) Notice the console in the build
Expected results: No error related to Input are thrown
Actual results: Errors are thrown when launching the app:
"Error Unity InvalidOperationException: No binding composite with name 'PointerInput' has been registered"
"Error Unity InvalidOperationException: Binding 'point:<Touchscreen>/touch3/position[;Touch]' is marked as being part of a composite but the preceding binding is not a composite"
Reproducible with: 2019.3.1f1(preview.3 - 1.0.0), 2020.1.0a24(preview.5 - 1.0.0)
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00138, Huawei P20 Pro (CLT-L29), Android 8.1.0, CPU: HiSilicon Kirin 970, GPU: Mali-G72
Note: A possible fix would be to change the attribute to [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]. Input System package was not present in Unity 2018.4
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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note (fix version 1.1-pre.6):
Fixed in Input System 1.2.0 available in Unity 2019.4 and above