list in unity

i want to add a scriptable object(as a custom input const) to a list which have the same class, i use list.add() method but when i try to work with the data from the list it change the data from the scriptable object (which i don’t want). is there anyway to fix this.

Given the really really short description i can only offer assumptions on what you need.

The question is a bit misleading i guess as this is not related to the usage of a List. I guess that you instead reference the original scriptable item instead of a copy. So ofc when you modify it, it will modify the original.

It should be sufficient to copy the original scriptable Item before you add it to the List to solve the issue. If not please provide way more information.