Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Idleman |
I am not sure what caused the problem, but my game suddenly starts to lag. It is very hard to understand, I did not changed any setting and it was fine a minute ago. Then it starts to lag. Since that, it always lags, it is like every a few frames there is a frame missing and the result is moving object is lagged randomly.
I did my research, and think that might be a result of camera no align with the player. I tried different things. Some times by adding a script to the camera with align() in the process could solve the issue. However, even with the script, it still happen from time to time.
When I open a earlier version of the game, it did not have the problem(so it is not a hardware related issue), but I didn’t make any noticeable changes. Now I am not sure if I should keep going with the current state of unpredictable lagging or switch to the earlier version and build on that. Has anyone encounter this kind of camera lagging before? Thank you.