Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified python/__pycache__/u3_env.cpython-39.pyc
Binary file not shown.
Binary file modified python/__pycache__/unity_gym_env_pettingzoo_rewrite.cpython-39.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions unity/Assembly-CSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
<Compile Include="Assets\Source\EnvironmentEngine\ProductionRuleObject.cs" />
<Compile Include="Assets\Source\EnvironmentEngine\U3SensorComponent.cs" />
<Compile Include="Assets\KinematicCharacterController\Walkthrough\8- Creating a moving platform\Scripts\MyCharacterController.cs" />
<Compile Include="Assets\Source\EnvironmentEngine\SpawnManager.cs" />
<Compile Include="Assets\Libraries\JSONLoader.cs" />
<Compile Include="Assets\KinematicCharacterController\Walkthrough\14- Climbing Ladders\Scripts\MyLadder.cs" />
<Compile Include="Assets\Source\EnvironmentEngine\EnvironmentEngine.cs" />
Expand Down
3 changes: 2 additions & 1 deletion unity/Assets/ML-Agents/Timers/XLand_timers.json
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
{"count":1,"self":14.422528,"total":15.958063099999999,"children":{"InitializeActuators":{"count":1,"self":0.0015379,"total":0.0015379,"children":null},"InitializeSensors":{"count":1,"self":0.0020022,"total":0.0020022,"children":null},"AgentSendState":{"count":1478,"self":0.0304696,"total":1.4643275,"children":{"CollectObservations":{"count":177,"self":0.0010008999999999999,"total":0.0010008999999999999,"children":null},"WriteActionMask":{"count":177,"self":0.0030001999999999997,"total":0.0030001999999999997,"children":null},"RequestDecision":{"count":177,"self":0.0039737,"total":1.4298568,"children":{"CameraSensor.GetCompressedObservation":{"count":177,"self":1.4258830999999998,"total":1.4258830999999998,"children":null}}}}},"DecideAction":{"count":1478,"self":0.0517298,"total":0.0517298,"children":null},"AgentAct":{"count":1478,"self":0.0149381,"total":0.0149381,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1711937232","unity_version":"2023.1.0b18","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2023.1.0b18\\Editor\\Unity.exe -projectpath H:\\Git\\u3\\unity -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-Shars -hubSessionId 9a525c41-476f-4b73-a5fa-f8f3bbae1077 -accessToken gZI_2pK5mgp5TddJOyhxY81TK4WiAtLC5QW0Asi-co8001f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"XLand","end_time_seconds":"1711937248"}}
{"count":1,"self":174.90159359999998,"total":185.846107,"children":{"InitializeActuators":{"count":8,"self":0.001039,"total":0.001039,"children":null},"InitializeSensors":{"count":8,"self":0.00074199999999999993,"total":0.00074199999999999993,"children":null},"AgentSendState":{"count":71965,"self":0.148522,"total":10.669998,"children":{"CollectObservations":{"count":2757,"self":0.0018659999999999998,"total":0.0018659999999999998,"children":null},"WriteActionMask":{"count":2757,"self":0.0033169999999999996,"total":0.0033169999999999996,"children":null},"RequestDecision":{"count":2757,"self":0.011158,"total":10.516293,"children":{"CameraSensor.GetCompressedObservation":{"count":2757,"self":10.5051352,"total":10.505135,"children":null}}}}},"DecideAction":{"count":71965,"self":0.19941,"total":0.19941,"children":null},"AgentAct":{"count":71965,"self":0.048509,"total":0.048509,"children":null},"CameraSensor.GetCompressedObservation":{"count":7,"self":0.024808,"total":0.024808,"children":null}},"gauges":{"My Behavior.CumulativeReward":{"count":7,"max":0,"min":0,"runningAverage":0,"value":0,"weightedAverage":0}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1714630994","unity_version":"2023.1.0b18","command_line_arguments":"\/home\/vedu\/Unity\/Hub\/Editor\/2023.1.0b18\/Editor\/Unity -projectpath \/home\/vedu\/CS\/ada\/u3\/unity -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-vedu -hubSessionId 6880bbf8-e89d-4ee3-b7a2-eeab3a615f2d -accessToken TVQVAE11IQ3F9pk_Nv7CT3EP75xHknAoOUHckhEiej4003f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"XLand","end_time_seconds":"1714631179"}}

1 change: 1 addition & 0 deletions unity/Assets/Resources/GameObjects/MetaTiles/Air.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: empty
faceIDs: 090000000000000000000000000000000000000000000000
--- !u!1 &4953736298549603606
GameObject:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: empty
faceIDs: 000000000000000004000000000000000000000000000000
--- !u!1 &4953736298549603606
GameObject:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: empty
faceIDs: 090000000000000000000000000000000000000000000000
--- !u!1 &1643914372912117477
GameObject:
Expand Down Expand Up @@ -194,6 +195,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: empty
faceIDs: 090000000000000000000000000000000000000000000000
--- !u!1 &1899270602412230280
GameObject:
Expand Down Expand Up @@ -484,6 +486,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: empty
faceIDs: 090000000000000000000000000000000000000000000000
--- !u!1 &6004469384907916407
GameObject:
Expand Down Expand Up @@ -529,6 +532,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: empty
faceIDs: 090000000000000000000000000000000000000000000000
--- !u!1 &6552369819736916210
GameObject:
Expand Down Expand Up @@ -597,7 +601,7 @@ Transform:
- {fileID: 371776409249493707}
- {fileID: 9164566216550528723}
m_Father: {fileID: 0}
m_RootOrder: -1
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &100174510953274016
MonoBehaviour:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: empty
faceIDs: 000000000000000000000000000000000000000000000000
--- !u!1 &1643914372912117477
GameObject:
Expand Down Expand Up @@ -194,6 +195,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: empty
faceIDs: 000000000000000000000000000000000000000000000000
--- !u!1 &1899270602412230280
GameObject:
Expand Down Expand Up @@ -484,6 +486,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: empty
faceIDs: 000000000000000000000000000000000000000000000000
--- !u!1 &6004469384907916407
GameObject:
Expand Down Expand Up @@ -529,6 +532,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: empty
faceIDs: 000000000000000000000000000000000000000000000000
--- !u!1 &6552369819736916210
GameObject:
Expand Down Expand Up @@ -611,7 +615,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d6ccdb70b07f7a847b03eeae7ec5ad17, type: 3}
m_Name:
m_EditorClassIdentifier:
parent: {fileID: 0}
parent: {fileID: 4368192324598907990, guid: 8b0660a070f5b0f4392930fa36439313, type: 3}
tiles:
- {fileID: 9108343275664428418}
- {fileID: 5564808967243947448}
Expand Down
3 changes: 2 additions & 1 deletion unity/Assets/Resources/GameObjects/MetaTiles/Air_new.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: empty
faceIDs: 000000000000000000000000000000000000000000000000
--- !u!1 &4953736298549603606
GameObject:
Expand Down Expand Up @@ -155,7 +156,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d6ccdb70b07f7a847b03eeae7ec5ad17, type: 3}
m_Name:
m_EditorClassIdentifier:
parent: {fileID: 4368192324598907990, guid: 8b0660a070f5b0f4392930fa36439313, type: 3}
parent: {fileID: 4368192324598907990, guid: 2e7beea980661274f85903aaccd40da9, type: 3}
tiles:
- {fileID: 4897082361660504531}
payload: {fileID: 371776409249493707}
Expand Down
8 changes: 7 additions & 1 deletion unity/Assets/Resources/GameObjects/MetaTiles/Corner.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 030000000200000001000000010000000400000001000000
--- !u!1 &2281621976094102461
GameObject:
Expand Down Expand Up @@ -89,6 +90,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: Empty
faceIDs: 000000000000000000000000000000000000000000000000
--- !u!1 &4448140023607712244
GameObject:
Expand Down Expand Up @@ -134,6 +136,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 030000000200000001000000040000000100000001000000
--- !u!1 &4782072366629366078
GameObject:
Expand Down Expand Up @@ -179,6 +182,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: corner
faceIDs: 000000000200000000000000000000000000000000000000
--- !u!1 &5472672506236868300
GameObject:
Expand Down Expand Up @@ -224,6 +228,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: Empty
faceIDs: 000000000000000000000000000000000000000000000000
--- !u!1 &6552369819736916210
GameObject:
Expand Down Expand Up @@ -306,7 +311,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d6ccdb70b07f7a847b03eeae7ec5ad17, type: 3}
m_Name:
m_EditorClassIdentifier:
parent: {fileID: 4368192324598907990, guid: 8b0660a070f5b0f4392930fa36439313, type: 3}
parent: {fileID: 4368192324598907990, guid: 2e7beea980661274f85903aaccd40da9, type: 3}
tiles:
- {fileID: 2499566853283043604}
- {fileID: 8489554429050307374}
Expand Down Expand Up @@ -362,6 +367,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 030000000200000001000000040000000400000001000000
--- !u!1 &7552926363554527522
GameObject:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 07000000070000000b00000009000000090000000b000000
--- !u!1 &6552369819736916210
GameObject:
Expand Down Expand Up @@ -109,7 +110,7 @@ Transform:
- {fileID: 371776409249493707}
- {fileID: 7533335944709823483}
m_Father: {fileID: 0}
m_RootOrder: -1
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &100174510953274016
MonoBehaviour:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 0800000008000000090000000b000000090000000b000000
--- !u!1 &6552369819736916210
GameObject:
Expand Down Expand Up @@ -109,7 +110,7 @@ Transform:
- {fileID: 371776409249493707}
- {fileID: 7533335944709823483}
m_Father: {fileID: 0}
m_RootOrder: -1
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &100174510953274016
MonoBehaviour:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 06000000060000000b000000090000000b00000009000000
--- !u!1 &6552369819736916210
GameObject:
Expand Down Expand Up @@ -109,7 +110,7 @@ Transform:
- {fileID: 371776409249493707}
- {fileID: 7533335944709823483}
m_Father: {fileID: 0}
m_RootOrder: -1
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &100174510953274016
MonoBehaviour:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4448140023607712244}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: 0, y: 0.43, z: 1.033}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
Expand All @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 0500000005000000090000000b0000000b00000009000000
--- !u!1 &6552369819736916210
GameObject:
Expand Down Expand Up @@ -109,7 +110,7 @@ Transform:
- {fileID: 371776409249493707}
- {fileID: 7533335944709823483}
m_Father: {fileID: 0}
m_RootOrder: -1
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &100174510953274016
MonoBehaviour:
Expand Down Expand Up @@ -188,7 +189,7 @@ PrefabInstance:
- target: {fileID: 5587600109266502039, guid: 0f8c76ee2d46c8f4c848df3b6c1edae6,
type: 3}
propertyPath: m_LocalPosition.z
value: -0.5
value: -1.274
objectReference: {fileID: 0}
- target: {fileID: 5587600109266502039, guid: 0f8c76ee2d46c8f4c848df3b6c1edae6,
type: 3}
Expand Down
4 changes: 4 additions & 0 deletions unity/Assets/Resources/GameObjects/MetaTiles/Platform.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 0a0000000100000001000000010000000100000001000000
--- !u!1 &4448140023607712244
GameObject:
Expand Down Expand Up @@ -89,6 +90,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 0a0000000200000001000000010000000100000001000000
--- !u!1 &4782072366629366078
GameObject:
Expand Down Expand Up @@ -134,6 +136,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 0a0000000100000001000000010000000100000001000000
--- !u!1 &6552369819736916210
GameObject:
Expand Down Expand Up @@ -270,6 +273,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 0a0000000200000001000000010000000100000001000000
--- !u!1 &7552926363554527522
GameObject:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 030000000200000001000000010000000100000001000000
--- !u!1 &4448140023607712244
GameObject:
Expand Down Expand Up @@ -89,6 +90,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 030000000200000001000000040000000100000001000000
--- !u!1 &4782072366629366078
GameObject:
Expand Down Expand Up @@ -134,6 +136,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 030000000200000001000000010000000100000001000000
--- !u!1 &6552369819736916210
GameObject:
Expand Down Expand Up @@ -216,7 +219,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d6ccdb70b07f7a847b03eeae7ec5ad17, type: 3}
m_Name:
m_EditorClassIdentifier:
parent: {fileID: 4368192324598907990, guid: 8b0660a070f5b0f4392930fa36439313, type: 3}
parent: {fileID: 4368192324598907990, guid: 2e7beea980661274f85903aaccd40da9, type: 3}
tiles:
- {fileID: 2499566853283043604}
- {fileID: 8489554429050307374}
Expand Down Expand Up @@ -270,6 +273,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType: solid
faceIDs: 030000000200000001000000040000000100000001000000
--- !u!1 &7552926363554527522
GameObject:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType:
faceIDs: 030000000200000001000000010000000100000004000000
--- !u!1 &4448140023607712244
GameObject:
Expand Down Expand Up @@ -89,6 +90,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType:
faceIDs: 030000000200000001000000040000000100000001000000
--- !u!1 &4782072366629366078
GameObject:
Expand Down Expand Up @@ -134,6 +136,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType:
faceIDs: 030000000200000001000000010000000100000001000000
--- !u!1 &6552369819736916210
GameObject:
Expand Down Expand Up @@ -216,7 +219,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d6ccdb70b07f7a847b03eeae7ec5ad17, type: 3}
m_Name:
m_EditorClassIdentifier:
parent: {fileID: 4368192324598907990, guid: 8b0660a070f5b0f4392930fa36439313, type: 3}
parent: {fileID: 4368192324598907990, guid: 2e7beea980661274f85903aaccd40da9, type: 3}
tiles:
- {fileID: 2499566853283043604}
- {fileID: 8489554429050307374}
Expand Down Expand Up @@ -270,6 +273,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe31722c51a8f48448fa903795c8a699, type: 3}
m_Name:
m_EditorClassIdentifier:
tileType:
faceIDs: 030000000200000001000000040000000100000004000000
--- !u!1 &7552926363554527522
GameObject:
Expand Down
Loading