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

Question VR and Cinemachine

Discussion in 'VR' started by jmcb, Mar 19, 2022.

  1. jmcb

    jmcb

    Joined:
    Feb 25, 2017
    Posts:
    1
    Hi guys,

    Does anyone know if there is a way to use Cinemachine with VR? Since input is controlled by Input System I am having the next message:

    "InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.
    VRLocomotiojn.cutting.Update () (at Assets/Scripts/cutting.cs:24)"
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,497
    The cinemachine works with the new input system. The issue you're having is from your own cutting script.

    Also, what are you using the cinemachine for? It's not often used with VR
     
    Gregoryl likes this.