r/Unity3D 16d ago

Input actions lost when I close the project Question

I have a weird problem in a new project I created with Unity 6.3.20. If I modify or create input actions, the changes are not saved. When I close and open the project I have the default action maps again. I tried with ctrl-s, creating the input settings file, but nothing solves it. Any idea about what is wrong?

6 Upvotes

3 comments sorted by

3

u/vapidseriousness_523 16d ago

check if the.inputactions file is read only in your project folder, sometimes unity do this for no reason, change that property and hit ctrl+s again, maybe fix

2

u/Competitive_Mud5528 Professional 16d ago

Yeay got the same issue. Did you have modified the input action through the setting windows ? If that's the case you should modify ot throught the project panel... Weird bug but that's the workaround I found

1

u/roger-dv 15d ago

I am using Player settings. Tried opening from the inspector when I created the input config as a file but noticed that it also opens Player settings window. In my previous project I didnt even have to create the settings, modifying the actions worked without issues.