The residual value of the brain is too low, and there are shadow monsters around. Even if the shadow monster can't hurt you, you can't sleep. Some characters can't sleep at certain times. For example, when there is a moon, Valkyria doesn't sleep.
If the above problems are eliminated, it may be a stuck dog bug. Press the ~ key and enter print (getworld ()). Component. Be hunted. Attack time). If it is less than zero and it is a very small negative number, that's it. The solution is getworld (). Component. Hounded.time to attack = 60, and then a wave of dogs came, and it was all right.