diff --git a/.yamato/upm-ci.yml b/.yamato/upm-ci.yml index a1c4df06c..4102a93c5 100644 --- a/.yamato/upm-ci.yml +++ b/.yamato/upm-ci.yml @@ -1,4 +1,5 @@ editors: + - version: 2019.3 - version: 2019.4 - version: 2020.1 - version: 2020.2 diff --git a/com.unity.formats.alembic/Tests/Runtime/BaseFixture.cs b/com.unity.formats.alembic/Tests/Runtime/BaseFixture.cs index c2c74fea5..77a365132 100644 --- a/com.unity.formats.alembic/Tests/Runtime/BaseFixture.cs +++ b/com.unity.formats.alembic/Tests/Runtime/BaseFixture.cs @@ -79,7 +79,7 @@ public void SetUp() SceneManager.SetActiveScene(scene); var go = new GameObject("Recorder"); exporter = go.AddComponent(); - exporter.MaxCaptureFrame = 10; + exporter.MaxCaptureFrame = 20; exporter.Recorder.Settings.OutputPath = "Assets/" + Path.GetFileNameWithoutExtension(Path.GetTempFileName()) + ".abc"; exporter.CaptureOnStart = false; diff --git a/com.unity.formats.alembic/Tests/Runtime/TimelineDataTests.cs b/com.unity.formats.alembic/Tests/Runtime/TimelineDataTests.cs index f4dc5f9bb..72a309a80 100644 --- a/com.unity.formats.alembic/Tests/Runtime/TimelineDataTests.cs +++ b/com.unity.formats.alembic/Tests/Runtime/TimelineDataTests.cs @@ -31,8 +31,7 @@ static IEnumerator TestCubeContents(GameObject go) player.CurrentTime = 0; yield return new WaitForEndOfFrame(); var t0 = cubeGO.transform.position; - player.CurrentTime = (float)player.Duration; - yield return new WaitForEndOfFrame(); + player.UpdateImmediately(player.Duration - 1e-5f); var t1 = cubeGO.transform.position; Assert.AreNotEqual(t0, t1); } @@ -210,7 +209,7 @@ public IEnumerator TestTimelineTrack() var root = PrefabUtility.InstantiatePrefab(go) as GameObject; var player = root.GetComponent(); var timeline = director.playableAsset as TimelineAsset; - var abcTrack = timeline.CreateTrack(null,""); + var abcTrack = timeline.CreateTrack(null, ""); var clip = abcTrack.CreateClip(); var abcAsset = clip.asset as AlembicShotAsset; var refAbc = new ExposedReference {exposedName = Guid.NewGuid().ToString()};