Variable does not save in prefab

So I have set up a script and attached it to a rigid body, in the script i have drag and dropped a variable but when i change the whole thing into a prefab and try to instantiate it it doesn’t have that variable within it, any ideas why or how to fix this. I have tried drag and dropping once a prefab and hitting apply and it doesn’t help.

thanks for any advice

It may help if you post the scripts, or at least the part with the variable.
Which version of Unity are you using?