Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Bug Action count in old and new state must be the same error on long focus change

Discussion in 'Input System' started by Marko_Esh, Feb 18, 2024.

  1. Marko_Esh

    Marko_Esh

    Joined:
    Nov 3, 2019
    Posts:
    2
    Hello there!
    I use Unity 2022.3.20f, new Input system 1.7.0, UI tool kit. I added to the scene EventSystem gameobject. All settings are default. Bug happens on Android when I move from application to another and turn off the screen, then turn it on and open my app. After that input system not works. In debug log there are two issues:
    I tried to change input settings for backend behavior, turn off/on event system on focus change, nothing helps. Just removing new Input system and using old helps with issue.
    Any opinions how to solve this problem with new system? Thanks!