Skip to content

Commit 40703a0

Browse files
authored
fix: revert "test: Don't run multiprocess tests on trunk (#1706)" (#1743)
1 parent 6dd0ae1 commit 40703a0

File tree

3 files changed

+108
-43
lines changed

3 files changed

+108
-43
lines changed

.yamato/project-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ test_{{ project.name }}_{{ editor }}_{{ platform.name }}:
5757

5858
{% for project in projects -%}
5959
{% if project.name == "testproject" %}
60-
{% for editor in project.multiprocess_test_editors -%}
60+
{% for editor in project.test_editors -%}
6161
{% for platform in test_platforms -%}
6262
multiprocess_test_testproject_{{ editor }}_{{ platform.name }}:
6363
name : multiprocess tests - {{ editor }} on {{ platform.name }}

.yamato/project.metafile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ projects:
4545
- 2021.2
4646
- 2020.3
4747
- trunk
48-
multiprocess_test_editors:
49-
- 2021.1
50-
- 2021.2
51-
- 2020.3
52-
- 2022.1
5348
# - name: testproject-tools-integration
5449
# path: testproject-tools-integration
5550
# validate: false

testproject/Assets/Scenes/MultiprocessTestScene.unity

Lines changed: 107 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ Transform:
212212
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
213213
m_LocalPosition: {x: 0, y: 3, z: 0}
214214
m_LocalScale: {x: 1, y: 1, z: 1}
215-
m_ConstrainProportionsScale: 0
216215
m_Children: []
217216
m_Father: {fileID: 0}
218217
m_RootOrder: 1
@@ -224,7 +223,7 @@ LightingSettings:
224223
m_PrefabInstance: {fileID: 0}
225224
m_PrefabAsset: {fileID: 0}
226225
m_Name:
227-
serializedVersion: 4
226+
serializedVersion: 3
228227
m_GIWorkflowMode: 1
229228
m_EnableBakedLightmaps: 1
230229
m_EnableRealtimeLightmaps: 0
@@ -237,7 +236,7 @@ LightingSettings:
237236
m_LightmapMaxSize: 1024
238237
m_BakeResolution: 40
239238
m_Padding: 2
240-
m_LightmapCompression: 3
239+
m_TextureCompression: 1
241240
m_AO: 0
242241
m_AOMaxDistance: 1
243242
m_CompAOExponent: 1
@@ -278,7 +277,6 @@ LightingSettings:
278277
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
279278
m_PVRFilteringAtrousPositionSigmaIndirect: 2
280279
m_PVRFilteringAtrousPositionSigmaAO: 1
281-
m_PVRTiledBaking: 0
282280
--- !u!1 &160940364
283281
GameObject:
284282
m_ObjectHideFlags: 0
@@ -371,7 +369,6 @@ Transform:
371369
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
372370
m_LocalPosition: {x: -10, y: -10, z: -10}
373371
m_LocalScale: {x: 1, y: 1, z: 1}
374-
m_ConstrainProportionsScale: 0
375372
m_Children: []
376373
m_Father: {fileID: 0}
377374
m_RootOrder: 5
@@ -455,7 +452,6 @@ Transform:
455452
m_LocalRotation: {x: 0.21736304, y: -0, z: -0, w: 0.97609085}
456453
m_LocalPosition: {x: 0, y: 9.15, z: -27.5}
457454
m_LocalScale: {x: 1, y: 1, z: 1}
458-
m_ConstrainProportionsScale: 0
459455
m_Children: []
460456
m_Father: {fileID: 0}
461457
m_RootOrder: 0
@@ -552,7 +548,6 @@ Transform:
552548
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
553549
m_LocalPosition: {x: 0, y: 0, z: 0}
554550
m_LocalScale: {x: 1, y: 1, z: 1}
555-
m_ConstrainProportionsScale: 0
556551
m_Children: []
557552
m_Father: {fileID: 0}
558553
m_RootOrder: 4
@@ -649,7 +644,6 @@ Transform:
649644
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
650645
m_LocalPosition: {x: 10, y: 10, z: 10}
651646
m_LocalScale: {x: 1, y: 1, z: 1}
652-
m_ConstrainProportionsScale: 0
653647
m_Children: []
654648
m_Father: {fileID: 0}
655649
m_RootOrder: 3
@@ -666,7 +660,6 @@ GameObject:
666660
- component: {fileID: 1211923375}
667661
- component: {fileID: 1211923378}
668662
- component: {fileID: 1211923377}
669-
- component: {fileID: 1211923379}
670663
m_Layer: 0
671664
m_Name: '[NetworkManager] (Multiprocess)'
672665
m_TagString: Untagged
@@ -686,11 +679,12 @@ MonoBehaviour:
686679
m_Script: {fileID: 11500000, guid: 593a2fe42fa9d37498c96f9a383b6521, type: 3}
687680
m_Name:
688681
m_EditorClassIdentifier:
682+
DontDestroy: 0
689683
RunInBackground: 1
690684
LogLevel: 1
691685
NetworkConfig:
692686
ProtocolVersion: 0
693-
NetworkTransport: {fileID: 1211923379}
687+
NetworkTransport: {fileID: 1674777073}
694688
PlayerPrefab: {fileID: 4700706668509470175, guid: 7eeaaf9e50c0afc4dab93584a54fb0d6,
695689
type: 3}
696690
NetworkPrefabs:
@@ -725,8 +719,9 @@ Transform:
725719
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
726720
m_LocalPosition: {x: 0, y: 0, z: 0}
727721
m_LocalScale: {x: 1, y: 1, z: 1}
728-
m_ConstrainProportionsScale: 0
729-
m_Children: []
722+
m_Children:
723+
- {fileID: 1674777072}
724+
- {fileID: 2027640072}
730725
m_Father: {fileID: 0}
731726
m_RootOrder: 2
732727
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -756,30 +751,6 @@ MonoBehaviour:
756751
m_Script: {fileID: 11500000, guid: 55d1c75ce242745ac98f7e7aca6d2d19, type: 3}
757752
m_Name:
758753
m_EditorClassIdentifier:
759-
--- !u!114 &1211923379
760-
MonoBehaviour:
761-
m_ObjectHideFlags: 0
762-
m_CorrespondingSourceObject: {fileID: 0}
763-
m_PrefabInstance: {fileID: 0}
764-
m_PrefabAsset: {fileID: 0}
765-
m_GameObject: {fileID: 1211923374}
766-
m_Enabled: 1
767-
m_EditorHideFlags: 0
768-
m_Script: {fileID: 11500000, guid: 6960e84d07fb87f47956e7a81d71c4e6, type: 3}
769-
m_Name:
770-
m_EditorClassIdentifier:
771-
m_ProtocolType: 0
772-
m_MaxPacketQueueSize: 128
773-
m_MaxPayloadSize: 80000
774-
m_MaxSendQueueSize: 98304
775-
m_HeartbeatTimeoutMS: 500
776-
m_ConnectTimeoutMS: 1000
777-
m_MaxConnectAttempts: 60
778-
m_DisconnectTimeoutMS: 30000
779-
ConnectionData:
780-
Address: 127.0.0.1
781-
Port: 7777
782-
ServerListenAddress: 127.0.0.1
783754
--- !u!1 &1274245423
784755
GameObject:
785756
m_ObjectHideFlags: 0
@@ -824,7 +795,6 @@ Transform:
824795
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
825796
m_LocalPosition: {x: 10, y: 10, z: 10}
826797
m_LocalScale: {x: 1, y: 1, z: 1}
827-
m_ConstrainProportionsScale: 0
828798
m_Children: []
829799
m_Father: {fileID: 0}
830800
m_RootOrder: 6
@@ -841,3 +811,103 @@ MonoBehaviour:
841811
m_Script: {fileID: 11500000, guid: ef1240e0784f84eadb77fe822e2e03c7, type: 3}
842812
m_Name:
843813
m_EditorClassIdentifier:
814+
--- !u!1 &1674777071
815+
GameObject:
816+
m_ObjectHideFlags: 0
817+
m_CorrespondingSourceObject: {fileID: 0}
818+
m_PrefabInstance: {fileID: 0}
819+
m_PrefabAsset: {fileID: 0}
820+
serializedVersion: 6
821+
m_Component:
822+
- component: {fileID: 1674777072}
823+
- component: {fileID: 1674777073}
824+
m_Layer: 0
825+
m_Name: UNET
826+
m_TagString: Untagged
827+
m_Icon: {fileID: 0}
828+
m_NavMeshLayer: 0
829+
m_StaticEditorFlags: 0
830+
m_IsActive: 1
831+
--- !u!4 &1674777072
832+
Transform:
833+
m_ObjectHideFlags: 0
834+
m_CorrespondingSourceObject: {fileID: 0}
835+
m_PrefabInstance: {fileID: 0}
836+
m_PrefabAsset: {fileID: 0}
837+
m_GameObject: {fileID: 1674777071}
838+
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
839+
m_LocalPosition: {x: 0, y: 0, z: 0}
840+
m_LocalScale: {x: 1, y: 1, z: 1}
841+
m_Children: []
842+
m_Father: {fileID: 1211923376}
843+
m_RootOrder: 0
844+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
845+
--- !u!114 &1674777073
846+
MonoBehaviour:
847+
m_ObjectHideFlags: 0
848+
m_CorrespondingSourceObject: {fileID: 0}
849+
m_PrefabInstance: {fileID: 0}
850+
m_PrefabAsset: {fileID: 0}
851+
m_GameObject: {fileID: 1674777071}
852+
m_Enabled: 1
853+
m_EditorHideFlags: 0
854+
m_Script: {fileID: 11500000, guid: b84c2d8dfe509a34fb59e2b81f8e1319, type: 3}
855+
m_Name:
856+
m_EditorClassIdentifier:
857+
MessageBufferSize: 50000
858+
MaxConnections: 100
859+
MaxSentMessageQueueSize: 50000
860+
ConnectAddress: 127.0.0.1
861+
ConnectPort: 7777
862+
ServerListenPort: 7777
863+
MessageSendMode: 0
864+
--- !u!1 &2027640071
865+
GameObject:
866+
m_ObjectHideFlags: 0
867+
m_CorrespondingSourceObject: {fileID: 0}
868+
m_PrefabInstance: {fileID: 0}
869+
m_PrefabAsset: {fileID: 0}
870+
serializedVersion: 6
871+
m_Component:
872+
- component: {fileID: 2027640072}
873+
- component: {fileID: 2027640073}
874+
m_Layer: 0
875+
m_Name: UTP
876+
m_TagString: Untagged
877+
m_Icon: {fileID: 0}
878+
m_NavMeshLayer: 0
879+
m_StaticEditorFlags: 0
880+
m_IsActive: 1
881+
--- !u!4 &2027640072
882+
Transform:
883+
m_ObjectHideFlags: 0
884+
m_CorrespondingSourceObject: {fileID: 0}
885+
m_PrefabInstance: {fileID: 0}
886+
m_PrefabAsset: {fileID: 0}
887+
m_GameObject: {fileID: 2027640071}
888+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
889+
m_LocalPosition: {x: 0, y: 0, z: 0}
890+
m_LocalScale: {x: 1, y: 1, z: 1}
891+
m_Children: []
892+
m_Father: {fileID: 1211923376}
893+
m_RootOrder: 1
894+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
895+
--- !u!114 &2027640073
896+
MonoBehaviour:
897+
m_ObjectHideFlags: 0
898+
m_CorrespondingSourceObject: {fileID: 0}
899+
m_PrefabInstance: {fileID: 0}
900+
m_PrefabAsset: {fileID: 0}
901+
m_GameObject: {fileID: 2027640071}
902+
m_Enabled: 1
903+
m_EditorHideFlags: 0
904+
m_Script: {fileID: 11500000, guid: 6960e84d07fb87f47956e7a81d71c4e6, type: 3}
905+
m_Name:
906+
m_EditorClassIdentifier:
907+
m_ProtocolType: 0
908+
m_MessageBufferSize: 6144
909+
m_ReciveQueueSize: 128
910+
m_SendQueueSize: 128
911+
m_SendQueueBatchSize: 4096
912+
m_ServerAddress: 127.0.0.1
913+
m_ServerPort: 7777

0 commit comments

Comments
 (0)