Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

IInputAxisProvider not used in Linux Editor

Discussion in 'Cinemachine' started by noomieware, May 18, 2022.

  1. noomieware

    noomieware

    Joined:
    Jun 18, 2019
    Posts:
    18
    Hi, I have a CinemachineFreeLook camera in my scene, where I added an implementation of IInputAxisProvider to handle camera movement myself. Works as intended on unity editor on a windows installation. However, running it in linux editor, the GetAxis(int) method is never called, while other methods of the MonoBehaviour (e.g. update) work.

    The MonoBehaviour is added as requested to the same gameobject as the CinemachineFreeLook is, and as said, works in a windows installation.

    Both installations use the 2021.3 LTS editor version.

    Did any1 face that issue yet? Is that yet known or are there already options how to solve?

    Best regards and thx
     
  2. noomieware

    noomieware

    Joined:
    Jun 18, 2019
    Posts:
    18
    Hi, I found he issue. There have been gameObjects for the rigs on my follow target from earlier, that caused the stop of working. These have been there for long time and never caused issues, only after switching to Linux once. Switching back to windows then showed the same behaviour though.
    Thx for your help.
     
    antoinecharton and Gregoryl like this.