Added some debug logs.
This commit is contained in:
@@ -81,6 +81,7 @@ public class NetworkMenuUI : MonoBehaviour
|
|||||||
}
|
}
|
||||||
private void OnStartPlaying()
|
private void OnStartPlaying()
|
||||||
{
|
{
|
||||||
|
Debug.Log("START PRESSED");
|
||||||
statusText.text = "Starting host...";
|
statusText.text = "Starting host...";
|
||||||
StartCoroutine(HostAndSearchRoutine());
|
StartCoroutine(HostAndSearchRoutine());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -319,9 +319,12 @@ namespace FishNet.Editing.PrefabCollectionGenerator
|
|||||||
{
|
{
|
||||||
foreach (string path in GetPrefabFiles("Assets", excludedPaths, true))
|
foreach (string path in GetPrefabFiles("Assets", excludedPaths, true))
|
||||||
{
|
{
|
||||||
|
|
||||||
NetworkObject nob = AssetDatabase.LoadAssetAtPath<NetworkObject>(path);
|
NetworkObject nob = AssetDatabase.LoadAssetAtPath<NetworkObject>(path);
|
||||||
if (nob != null)
|
if (nob != null)
|
||||||
foundNobs.Add(nob);
|
foundNobs.Add(nob);
|
||||||
|
else
|
||||||
|
UnityEngine.Debug.LogWarning("Last loading error with: " + path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Specific folders.
|
//Specific folders.
|
||||||
|
|||||||
Reference in New Issue
Block a user