02-04-2024, 08:54 AM
(This post was last modified: 02-04-2024, 08:55 AM by josemendez.)
(02-04-2024, 08:52 AM)ShawnF Wrote: So to clarify, the 100 vs 30 fps was with no profiling enabled. That's just the default state.
Could you share profiling sessions with deep profiling disabled, to be able to compare both Burst and Oni on the same grounds?
(02-04-2024, 08:52 AM)ShawnF Wrote: Fixed Timestep is the default 0.02. Maximum Allowed Timestep is set to 0.1, although to be honest I don't remember changing it and don't remember why I did so. My guess is that I was just testing something temporarily and forgot to change it back.
0.1/0.02 = 5, so that's consistent with the profiling results. This will allow Unity to update physics at most 5 times per frame, which can be a lot. Typically your max allowed timestep should be a small multiple of your timestep, something like 0.04 (2 updates per frame) or 0.06 (3 updates per frame).