You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug.Log($"No Adjustment Frame set on WorldLockingManager, using Transform {CameraParent.parent.gameObject.name} from scene's main camera hierarchy.");
522
+
Debug.LogWarning($"No Adjustment Frame set on WorldLockingManager, using Transform {CameraParent.parent.gameObject.name} from scene's main camera hierarchy.");
523
523
AdjustmentFrame=CameraParent.parent;
524
524
}
525
-
elseif(Camera.main!=null)
525
+
elseif(CameraParent!=null)
526
526
{
527
-
Debug.Log($"No Adjustment Frame set on WorldLockingManager, using root Transform {Camera.main.transform.root.gameObject.name} from scene's main camera.");
528
-
AdjustmentFrame=Camera.main.transform.root;
527
+
Debug.LogWarning($"No Adjustment Frame set on WorldLockingManager, using root Transform {CameraParent.transform.root.gameObject.name} from scene's main camera.");
528
+
AdjustmentFrame=CameraParent.transform.root;
529
529
}
530
-
else
530
+
elseif(ApplyAdjustment)
531
531
{
532
532
Debug.LogError("No Adjustment Frame set and no main camera to infer node from.");
533
533
}
@@ -561,7 +561,7 @@ private void Update()
561
561
}
562
562
if(ApplyAdjustment&&(AdjustmentFrame==null))
563
563
{
564
-
Debug.Log("No WLM update because no adjustment frame set");
564
+
Debug.LogWarning($"F={Time.frameCount}: No WLM update because no adjustment frame set");
0 commit comments