Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Jitter on scene load
#3
(13-01-2023, 10:08 AM)josemendez Wrote: Hi there,

I tried loading the obstacle course additively at runtime, but could not reproduce any jittering issues. Tried with both the included ExtrapolationCamera as well as Cinemachine, using the following script to load the scene:

Code:
using UnityEngine;
using UnityEngine.SceneManagement;

public class LoadScene : MonoBehaviour
{
    void Update()
    {
        if (Input.GetKeyDown(KeyCode.L))
            SceneManager.LoadScene("ObstacleCourse", LoadSceneMode.Single); // Additive makes no difference
    }
}

Also tried loading the scene straight away in Start(), but it made no difference. At least in theory, it should not be possible for behavior to change depending on how you load a scene.

If you can, please send a project /package that exhibits this issue to support(at)virtualmethodstudio.com so that I can take a closer look.

thanks!

Hello thanks for getting back to me.

I think I've been able to fix the issue, it seems to have been caused by the camera and soft body update cycles not being synced. The solution was as simple as disability interpolation on my softbody object and changing some settings on my cinemachine camera to make sure the update cycles are synced. It is ironic that I originally turned on interpolation for a different jitter issue with the cinemachine camera.

This is the blog post that showed me how to fix it: https://forum.unity.com/threads/rigidbod...r.1005398/

Thanks again for taking the time to help with this issue. This forum has been a massive help as always.
Reply


Messages In This Thread
Jitter on scene load - by Moon_Hermit - 12-01-2023, 06:04 PM
RE: Jitter on scene load - by josemendez - 13-01-2023, 10:08 AM
RE: Jitter on scene load - by Moon_Hermit - 13-01-2023, 06:26 PM