From 1885b1fbe82a7db64d85aa3b4eb3fe17d9d6aed7 Mon Sep 17 00:00:00 2001 From: jee7 Date: Mon, 2 Feb 2026 19:29:49 +0200 Subject: [PATCH] Added some debug logs. --- .../Fish-Networking-Discovery-main/NetworkDiscoveryCanvasUI.cs | 1 + .../Runtime/Editor/PrefabCollectionGenerator/Generator.cs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Assets/Fish-Networking-Discovery-main/NetworkDiscoveryCanvasUI.cs b/Assets/Fish-Networking-Discovery-main/NetworkDiscoveryCanvasUI.cs index 36b48abc..78df2137 100644 --- a/Assets/Fish-Networking-Discovery-main/NetworkDiscoveryCanvasUI.cs +++ b/Assets/Fish-Networking-Discovery-main/NetworkDiscoveryCanvasUI.cs @@ -81,6 +81,7 @@ public class NetworkMenuUI : MonoBehaviour } private void OnStartPlaying() { + Debug.Log("START PRESSED"); statusText.text = "Starting host..."; StartCoroutine(HostAndSearchRoutine()); } diff --git a/Assets/FishNet/Runtime/Editor/PrefabCollectionGenerator/Generator.cs b/Assets/FishNet/Runtime/Editor/PrefabCollectionGenerator/Generator.cs index fbce389a..149f6866 100644 --- a/Assets/FishNet/Runtime/Editor/PrefabCollectionGenerator/Generator.cs +++ b/Assets/FishNet/Runtime/Editor/PrefabCollectionGenerator/Generator.cs @@ -319,9 +319,12 @@ namespace FishNet.Editing.PrefabCollectionGenerator { foreach (string path in GetPrefabFiles("Assets", excludedPaths, true)) { + NetworkObject nob = AssetDatabase.LoadAssetAtPath(path); if (nob != null) foundNobs.Add(nob); + else + UnityEngine.Debug.LogWarning("Last loading error with: " + path); } } //Specific folders.