Skip to content

Commit 9150e3f

Browse files
committed
Unity Serialization issues?
1 parent b091955 commit 9150e3f

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

Assets/NodeListServer/AdvancedExample/List Example.unity

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,6 +1695,7 @@ GameObject:
16951695
- component: {fileID: 845006112}
16961696
- component: {fileID: 845006113}
16971697
- component: {fileID: 845006110}
1698+
- component: {fileID: 845006114}
16981699
- component: {fileID: 845006111}
16991700
m_Layer: 0
17001701
m_Name: NodeListServer NetMan
@@ -1760,14 +1761,14 @@ MonoBehaviour:
17601761
DontKillMe: 0
17611762
RetryRegistrationAsUpdateOnFail: 1
17621763
UpdateServerPeriodically: 1
1763-
UpdateServerPeriod: 1
1764+
UpdateServerPeriod: 5
17641765
CurrentServerInfo:
1765-
Name: NodeListServer Example Instance
1766+
Name: Example Server
17661767
Port: 7777
17671768
PlayerCount: 0
17681769
PlayerCapacity: 0
17691770
ExtraInformation:
1770-
autoGeneratedUuid: 75e2dde2-8465-4114-a42e-6e11eebdd4cc
1771+
autoGeneratedUuid: 8c0bc880-17af-4c6e-8bdd-d5a322c34016
17711772
--- !u!4 &845006112
17721773
Transform:
17731774
m_ObjectHideFlags: 0
@@ -1810,6 +1811,21 @@ MonoBehaviour:
18101811
autoCreatePlayer: 1
18111812
playerSpawnMethod: 0
18121813
spawnPrefabs: []
1814+
--- !u!114 &845006114
1815+
MonoBehaviour:
1816+
m_ObjectHideFlags: 0
1817+
m_CorrespondingSourceObject: {fileID: 0}
1818+
m_PrefabInstance: {fileID: 0}
1819+
m_PrefabAsset: {fileID: 0}
1820+
m_GameObject: {fileID: 845006109}
1821+
m_Enabled: 1
1822+
m_EditorHideFlags: 0
1823+
m_Script: {fileID: 11500000, guid: 6442dc8070ceb41f094e44de0bf87274, type: 3}
1824+
m_Name:
1825+
m_EditorClassIdentifier:
1826+
showGUI: 1
1827+
offsetX: 0
1828+
offsetY: 0
18131829
--- !u!1 &993261493
18141830
GameObject:
18151831
m_ObjectHideFlags: 0
@@ -2649,7 +2665,7 @@ MonoBehaviour:
26492665
masterServerUrl: http://furutaka.oiran.studio:8889/list
26502666
communicationKey: NodeListServerDefaultKey
26512667
refreshOnStart: 1
2652-
refreshInterval: 10
2668+
refreshInterval: 20
26532669
popup: {fileID: 1926990970}
26542670
mainStatusText: {fileID: 712827152}
26552671
popupStatusText: {fileID: 1081204139}

Assets/NodeListServer/AdvancedExample/Scripts/ServerListClientLogic.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ private IEnumerator RefreshServerList()
9797
if (popupStatusText != null) popupStatusText.text = "Just wait a moment";
9898
print("Refreshing the server list...");
9999

100+
print(masterServerUrl);
101+
100102
using (UnityEngine.Networking.UnityWebRequest www = UnityEngine.Networking.UnityWebRequest.Post(masterServerUrl, unityRequestForm))
101103
{
102104
isBusy = true;

ProjectSettings/ProjectVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
m_EditorVersion: 2018.4.18f1
1+
m_EditorVersion: 2018.4.20f1

0 commit comments

Comments
 (0)