Studio GuideWorld SDK Guide
Log In

An error occurred when using the Input Class function.

When using the Legacy Input Class provided by Unity in ZEPETOScript, the following message appears in the Unity Editor: Error: c# exception: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. An error can occur.

If this error occurs, try the following method.


Unity Input

Please check Player Settings.

  1. Open the Unity Project Settings window through File > Build Settings > Player Settings.

  1. Please check Project Settings > Player > Active Input Handling* option.
    If the option is not Both, please change it to Both.

  1. When changing options, a pop-up window will appear, indicating that Unity Editor needs to be restarted. Click “Apply” to restart Unity Editor.