[Unity 2020] My player character has started falling through the ground if I move the view 3 seconds after start
Today I was working on my game, and I've only done 2 things so far, but they have caused what I described in the title. If I move the player view around after 3 seconds in play mode, the player will start falling through the map. I have debug moved the player back above ground while it was still playing and it collides, at least until I move the camera once more.
The 2 things I did was:
Import Unity Particles Pack
Code a grenade that explodes after 3 seconds.
Clearly the 3 second timer in the grenade code is suspicious, but it's literally as simple as playing a particle effect and destroying the grenade. I don't see how it could possibly have this effect, even considering the most absurd bugs. I've disabled the grenade, removed the script from the grenade, and straight up deleted the grenade. There is no way for the script to run, yet the player will still fall through the map after 3 seconds. So what else could it be? The asset pack? It warned that project settings would be changed, but what could change to cause this and why does it only happen after time has passed?
This is the grenade code:
Your answer
