Prefabs not reset after quiting PlayMode

I am using Unity 6 preview 6000.0.12f1

When I’m in play mode, I select project folder and change a boolean field of a Script component in a prefab using inspector.
Then I exit play mode. The value is kept instead of being presented.

Same issue happened when I change the field value using c# script. The value of prefab not reset when exit play mode.

Is this normal or a bug? I’m new to unity.

If you’re referring to a prefab asset in your project files, that’s normal. Changes to assets persist between play mode sessions. It’s only anything that lives in a scene that is reset.

Thank you a lot. But I still have some consideration
I set a GameObject prefab as a field in my GameManager class
then I have a line of code to change GameManage.myPrefarb.fieldA
after quitting playmode, field A not reset.
I think it is quite dangerous when I do not notice that my prefab is not resetted, then I may build it to production

Is this the existing problem of unity or just my lacking of knowledge

This has always been the behaviour of ALL assets. It’s not unique to any particular type of asset.

Designing your systems around mutating assets at runtime is - in general (but not always) - a bad idea. You may want to rethink your approach.