Skip to content

Commit 080e60b

Browse files
committed
Add missing tag to camera game object.
1 parent 4c375f1 commit 080e60b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Scripts/CustomEditor/AutoPopulateScene.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ internal static void SetupARFoundationComponents()
5151
{
5252

5353
var camera = GameObject.Find("AR Camera");
54+
camera.tag = "MainCamera";
55+
5456
var cameraManager = camera.AddOrGetComponent<ARCameraManager>();
5557
cameraManager.lightEstimationMode = LightEstimationMode.AmbientIntensity;
5658

0 commit comments

Comments
 (0)