๐Ÿ“šSTUDY/๐Ÿ‘“hololens&MRTK

[Unity] 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 ์—๋Ÿฌ

ํ•ด๋Š”์„  2022. 7. 4. 05:06

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.

 

Hololens 2์—์„œ unity๋ฅผ ์ด์šฉํ•ด ์ž‘์—…ํ•˜๋˜ ๋„์ค‘, ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

 

ํ•ด๊ฒฐ์ฑ…

https://stackoverflow.com/questions/65027247/unity-conflict-between-new-inputsystem-and-old-eventsystem

 

Unity: Conflict between new InputSystem and old EventSystem

When using the new InputSystem. If I add a Canvas component to my Scene it brings automatically the old EventSystem and I see this error in my console: InvalidOperationException: You are trying to ...

stackoverflow.com

 

Edit -> Project Settings->Player->Under Other Settings under Configuration is the option Active Input Handling.

Active Input handing ๋ถ€๋ถ„์„ Both๋กœ ์ฒ˜๋ฆฌํ•ด์ฃผ๋ฉด ๋œ๋‹ค.