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.