Cheo
Active member
Hello, @RainerWahnsinn recently found a terrible bug that explains the camera issue he mentions there :
https://www.opsive.com/forum/index.php?threads/several-issues-with-ucc-and-urp-unity-2021-2022.9924/
Basically when using Application.targetFrameRate to set the target framerate to a value of about 60, the first person camera starts getting buggy and jerky, even more so when lowering the value to something like 30, at which point the camera may be sent flying around. This can be observable in UCC's demo scene alone. It is also worth clarifying that this is specifically about the target framerate - when setting my refresh rate to 60hz instead of 300hz I have no camera issues as long as the target framerate is not locked to 60 or less, as the fps count displayed by Unity's stats is still very high.
I suspect that this issue stems from one of UCC's latest versions, if not the latest - I would have seen it before on one of the previous versions when checking the framerate issues ! This needs an urgent look at, despite high fps count being nearly always better, games must allow for the option of capping the fps to 60 or 30 if the player chooses so (one of the possible reasons for that being to avoid overheating). I can take a look at a test package for this if necessary.
https://www.opsive.com/forum/index.php?threads/several-issues-with-ucc-and-urp-unity-2021-2022.9924/
Basically when using Application.targetFrameRate to set the target framerate to a value of about 60, the first person camera starts getting buggy and jerky, even more so when lowering the value to something like 30, at which point the camera may be sent flying around. This can be observable in UCC's demo scene alone. It is also worth clarifying that this is specifically about the target framerate - when setting my refresh rate to 60hz instead of 300hz I have no camera issues as long as the target framerate is not locked to 60 or less, as the fps count displayed by Unity's stats is still very high.
I suspect that this issue stems from one of UCC's latest versions, if not the latest - I would have seen it before on one of the previous versions when checking the framerate issues ! This needs an urgent look at, despite high fps count being nearly always better, games must allow for the option of capping the fps to 60 or 30 if the player chooses so (one of the possible reasons for that being to avoid overheating). I can take a look at a test package for this if necessary.