From f9a3da7cd7d634fdf400b522adeee3ab77991950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Sch=C3=B6ner?= <tobias.stonehead@gmail.com> Date: Fri, 13 Jan 2023 19:34:55 +0100 Subject: [PATCH] refactor: uncommented debugError line, as layer problems should be resolved --- Assets/Scripts/InteractionEngine/WorldFactInteraction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/InteractionEngine/WorldFactInteraction.cs b/Assets/Scripts/InteractionEngine/WorldFactInteraction.cs index da67c757..f1bb9a8a 100644 --- a/Assets/Scripts/InteractionEngine/WorldFactInteraction.cs +++ b/Assets/Scripts/InteractionEngine/WorldFactInteraction.cs @@ -44,7 +44,7 @@ private void UpdateDisplay() if (factObj == null) { // should never happen, if the layerMask is set up correctly - //Debug.LogError("WorldFactInteraction Raycast collided with object in factLayerMask, that did not contain a FactObject script: " + hit.transform.gameObject.name); + Debug.LogError("WorldFactInteraction Raycast collided with object in factLayerMask, that did not contain a FactObject script: " + hit.transform.gameObject.name); lastHit = null; Destroy(currentDisplay); return; -- GitLab