Is there a way to copy my input settings from one project to another?

Wel title says it all,
I exported a part of my game as an asset to a new project, but now I need to setup the inputs again.
So I would like to know if there is a simple file I can copy rather then having to do it the manual way :slight_smile:

1 Like

Look for the file “InputManager.asset” in the Library folder. Copy that file from your old project to your new one and bingo you’re golden. :wink:

8 Likes

great, thanks.

I am wondering if I can do the same for my layer settings?
I see a tagsmanager but not something that might control the layers.

For projects newer than Unity 3.4 it’s in ProjectSettings, not Library

2 Likes

Sorry for necro-ing old thread.

For those that are having this same problem after importing new packages from the asset store… and discovering

“ALL MY INSPECTOR SETTINGS ARE GONE!”

Here is how to fix it. This works with everything from input settings, layer\tag settings, physics settings etc

It’s just simple screenshots this time. But hopefully it’ll make sense to those used to Unity. Please note you should have saved your “working” Unity files somewhere else, before installing any new asset packages. (Otherwise you’ll lose all your inspector settings after installing the new package)

Broken Layers after new install of package
http://imgur.com/YWf3Myg

Go back to a working version
http://imgur.com/ta1gShG

Export the settings
http://imgur.com/Pa8PG6G

Import into new Scene
http://imgur.com/D6lbc7f


My Project
https://twitter.com/AlaNendoroid

This. But it’s not on Library folder, it’s on ProjectSettings. (At least on the MacOS version of Unity.)

1 Like

Correct and not dependent on a game manager.

Copied InputManager.asset from the ProjectSettings to the new project ProjectSettings. Nope, still did not work, it does not seem to use that file.

When using the new Input system, it is needed to include in the export the Input actions asset, and in the new project after importing, add from Windows>Package Manager the new Input system

This works fine Still as of LTS 2021.3 if you are using the legacy input manager.

Here is what worked for me.

  1. Install Input Package.
  2. Open both projects
  3. Drag the Input Actions from one project to the other.

I was able find some nice Actions for a 3rd person controller, UI, and Vehicle into one Input Action Asset. Drag them all into one project to combine.
To combine Action Maps into one you can just copy/paste them.

You can now move this asset between projects and never need to set them up manually ever again.

Hope this helps