Problem with CrossPlatform Input

Hey, I’m having trouble with this. I’m sure I have all the assets at the right place and stuff. Visual Studie just won’t accept: using UnityStandardAssets.CrossPlatformInput;

I have searched for an hour, no answers…
Please help!

Hi Mastej,

Welcome to our community! :slight_smile:

First of all, try to restart Unity. If that didn’t fix it, click the right mouse button in the Assets folder, and then on “Reimport all”. If that did not work either, remove the CrossplatformInput package und use Input instead of CrossplatformInputManager in your code.

Also please feel free to ask our helpful community of students for advice in our official Discord chat.

2 Likes

I have found what is the source of error. The same thing happened to me and I have managed to solve it. You must put the Player’s script in the Standard Assets folder, otherwise it doesn’t find CrossPlatformInput.

1 Like

Hey everyone, thanks for the help. I have actually fixed it right after posting here by downgrading unity :slight_smile:

Have a good one

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms