If a State or State-derived class is serialized for use in the inspector, then everytime scripts are compiled it will throw an exception from the public Timer() field being automatically initialized, which causes an access to Time.time, which can't be access during deserialization.
If a
State
orState
-derived class is serialized for use in the inspector, then everytime scripts are compiled it will throw an exception from the public Timer() field being automatically initialized, which causes an access to Time.time, which can't be access during deserialization.