r/UnityHelp • u/PurpleGDev • Feb 24 '23
Using the Input System I'm getting the error "Could not find active control after binding resolution"
I posted this on the Unity Forums but didn't get a response. This is copy and pasted from what I wrote there.

This is for a mobile game using two UI Images as controls, one with an On-Screen Button component, and one with an On-Screen Stick component. I only receive this error after ending Play Mode, not during, when I used my mouse to touch the buttons in the Simulator, or with the remote app. During Play mode everything acts as it should, and if I don't click the buttons with my mouse and instead use my keyboard I won't receive the error.
As everything works properly during play in the Editor I normally wouldn't care, but I believe this is related to an issue I'm having where when actually built and loaded onto an iPhone the touch controls don't work properly. They are incredibly laggy and only respond when pressed occasionally. The game itself is an extremely lightweight 2D proof of concept, so it isn't a case of being too much for the phone.
I'm currently using Unity 2021.3.19f1 with Input System 1.5.0, but this is after upgrading from an earlier version to see if that would fix it. I don't remember the previous version exactly, just that it was 1.4.something.
Any advice on what I can try in order to fix it? Or is there additional information I should provide that I haven't?
1
u/knlvladimir Feb 25 '24
Similar problem:
https://discussions.unity.com/t/error-by-switching-from-hands-to-controllers-is-vr/294835
I have this problem when several "virtual" On-Screen devices are removed at the same time.
1
u/Siiiidox May 24 '24
Having the same issue right now. On Android/iOS my buttons seem to stop functioning sometimes, when this error is thrown. Version 22.3.27f1