เกิดข้อผิดพลาดเมื่อใช้ฟังก์ชัน Input Class
เมื่อใช้ Legacy Input Class ที่ Unity จัดเตรียมไว้ใน ZEPETOScript ข้อความต่อไปนี้จะแสดงใน Unity Editor: ข้อผิดพลาด: c# exception:คุณกำลังพยายามอ่าน Input โดยใช้คลาส UnityEngine.Input แต่คุณได้เปลี่ยนการจัดการ Input ที่ใช้งานอยู่ไปยัง Input System package ใน Player Settings. อาจเกิดข้อผิดพลาดขึ้นได้.
หากเกิดข้อผิดพลาดนี้ขึ้น ให้ลองใช้วิธีการต่อไปนี้.

📘 Unity Input https://docs.unity3d.com/ScriptReference/Input.html
1) เปิดหน้าต่าง Unity Project Settings ผ่าน File > Build Settings > Player Settings.

2) กรุณาตรวจสอบ Project Settings > Player > Active Input Handling* ตัวเลือก. หากตัวเลือกไม่ใช่ ทั้งสอง, กรุณาเปลี่ยนเป็น ทั้งสอง.

3) เมื่อเปลี่ยนตัวเลือก หน้าต่างป๊อปอัพจะปรากฏขึ้น โดยระบุว่า Unity Editor ต้องเริ่มใหม่ คลิก “Apply” เพื่อเริ่ม Unity Editor ใหม่.

