i used joy stick to move a player but it giving me an error
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
Hi,
Go to player settings and scroll down into “other settings”. The last option called Active Input Handling* lets you change the input system to (old). Then restart unity and it should be fixed.