Jump to content

I need help with the Player controls in Gaia Pro


Timothy Rabinek
Go to solution Solved by Adam,

Recommended Posts

Hello,
the controls in Gaia pro do not react to the mouse or keyboard.
When I hit play and try to move nothing happens. Please let. Here is the measage I am receiving as an error:

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.
UnityEngine.Input.GetKey (UnityEngine.KeyCode key) (at <9129caca836046fd844f877f14792ee8>:0)
Gaia.LocationSystem.Update () (at Assets/Procedural Worlds/Gaia/Scripts/ValueAdds/Location System/LocationSystem.cs:58)

and
 

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.
Gaia.FreeCamera.Update () (at Assets/Procedural Worlds/Gaia/Scripts/ValueAdds/FreeCamera.cs:90)

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.
UnityEngine.Input.GetKeyDown (UnityEngine.KeyCode key) (at <9129caca836046fd844f877f14792ee8>:0)
Gaia.UIConfiguration.LateUpdate () (at Assets/Procedural Worlds/Gaia/Scripts/ValueAdds/UIConfiguration.cs:71)

Link to comment
Share on other sites

Hi, it seems that you have installed and activated new InputSystem in your project. In order to resolve your issue you need to perform either:

1. Pick custom character controller that works with InputSystem

2. Change player settings to support both InputSystem and legacy input (ProjectSettings->Player and then look for input handling)

Link to comment
Share on other sites

5 hours ago, Marcin Debicki said:

Change player settings to support both InputSystem and legacy input (ProjectSettings->Player and then look for input handling)

This is the usual answer for this. 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Yes, wanted to suggest the other option too only because depending on developers involved in case of option 2 it is easy to mix both systems in the same code - the reason why Unity by default enables only one system and not both is to avoid that.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...