Skip to content

Commit 75c4d45

Browse files
committed
Fix test fail
1 parent 269f3a1 commit 75c4d45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

TestProjects/PerceptionURP/Assets/Tests/Editor/PerceptionCameraEditorUrpTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ public IEnumerator MissingRendererFeature_ProducesLogError()
4141
var gameObject = new GameObject();
4242
gameObject.SetActive(false);
4343
gameObject.AddComponent<Camera>();
44+
gameObject.AddComponent<UniversalAdditionalCameraData>();
45+
4446
var perceptionCamera = gameObject.AddComponent<PerceptionCamera>();
4547
gameObject.SetActive(true);
4648
LogAssert.Expect(LogType.Error, "GroundTruthRendererFeature must be present on the ScriptableRenderer associated with the camera. The ScriptableRenderer can be accessed through Edit -> Project Settings... -> Graphics -> Scriptable Render Pipeline Settings -> Renderer List.");

0 commit comments

Comments
 (0)