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
- With specific Windows 10 settings, the player window resolution does not match the values passed into Screen.SetResolution()
- Material leaks memory when using PostProcess-Layer
- [URP] Adreno GPU is not getting the required vertex data
- [DX12] ShaderData.VariantCompileInfo.ShaderData contains 38 extra bytes on DirectX 12
- Dynamic lights still show up in the Profiler consuming time when "Main Light" and "Additional Lights" are disabled in the UniversalRP-HighQuality asset
Resolution Note (fix version 1.1-pre.6):
Fixed in Input System 1.2.0 available in Unity 2019.4 and above