From 40f3297d55d4358674d90f9c80ac7fbaa3ada6eb Mon Sep 17 00:00:00 2001 From: Cailean Finn Date: Fri, 12 Apr 2024 10:12:00 +0100 Subject: [PATCH] added incremental garbage collection --- Assets/5_Scenes/DreconDemo.unity | 10 +++++----- .../Cameras Profile Face On.asset | 14 +++++++------- Assets/ML-Agents/Timers/DreconDemo_timers.json | 2 +- ProjectSettings/ProjectSettings.asset | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Assets/5_Scenes/DreconDemo.unity b/Assets/5_Scenes/DreconDemo.unity index 93866b1..98ed997 100644 --- a/Assets/5_Scenes/DreconDemo.unity +++ b/Assets/5_Scenes/DreconDemo.unity @@ -881,7 +881,7 @@ MonoBehaviour: m_BlendUpdateMethod: 1 m_DefaultBlend: m_Style: 1 - m_Time: 3 + m_Time: 0 m_CustomCurve: serializedVersion: 2 m_Curve: [] @@ -1761,7 +1761,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 882491594} serializedVersion: 2 - m_LocalRotation: {x: 0.52918464, y: -0.000000026320045, z: 0.000000016414912, w: 0.8485067} + m_LocalRotation: {x: 0.52918464, y: 0.00000002632004, z: -0.00000001641491, w: 0.8485067} m_LocalPosition: {x: 18.113062, y: 9.285504, z: -0.5535152} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 @@ -3816,7 +3816,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1955078056} serializedVersion: 2 - m_LocalRotation: {x: -0.0000005639385, y: 0.7132504, z: -0.7009093, w: -0.0000005738679} + m_LocalRotation: {x: 0.000000563939, y: 0.7132504, z: -0.7009093, w: 0.0000005738685} m_LocalPosition: {x: 18.113062, y: 10.981609, z: -0.6314695} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 @@ -3840,7 +3840,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &2024068565 Transform: m_ObjectHideFlags: 0 @@ -3879,7 +3879,7 @@ MonoBehaviour: m_Bits: 1335 m_Environment: serializedVersion: 2 - m_Bits: 3135 + m_Bits: 3127 m_CameraBlendMin: 3 m_CameraBlendMax: 4 m_CameraSwapMin: 7 diff --git a/Assets/5_Scenes/DreconDemo_Profiles/Cameras Profile Face On.asset b/Assets/5_Scenes/DreconDemo_Profiles/Cameras Profile Face On.asset index 51d22a3..789fbb8 100644 --- a/Assets/5_Scenes/DreconDemo_Profiles/Cameras Profile Face On.asset +++ b/Assets/5_Scenes/DreconDemo_Profiles/Cameras Profile Face On.asset @@ -29,7 +29,7 @@ MonoBehaviour: active: 1 quality: m_OverrideState: 1 - m_Value: 3 + m_Value: 0 focusMode: m_OverrideState: 1 m_Value: 2 @@ -53,22 +53,22 @@ MonoBehaviour: m_Value: 30 m_NearSampleCount: m_OverrideState: 1 - m_Value: 8 + m_Value: 3 m_NearMaxBlur: m_OverrideState: 1 - m_Value: 7 + m_Value: 2 m_FarSampleCount: m_OverrideState: 1 - m_Value: 8 + m_Value: 4 m_FarMaxBlur: m_OverrideState: 1 - m_Value: 2.72 + m_Value: 5 m_Resolution: m_OverrideState: 1 - m_Value: 1 + m_Value: 4 m_HighQualityFiltering: m_OverrideState: 1 - m_Value: 1 + m_Value: 0 m_PhysicallyBased: m_OverrideState: 1 m_Value: 0 diff --git a/Assets/ML-Agents/Timers/DreconDemo_timers.json b/Assets/ML-Agents/Timers/DreconDemo_timers.json index 2fb7f43..3efb67d 100644 --- a/Assets/ML-Agents/Timers/DreconDemo_timers.json +++ b/Assets/ML-Agents/Timers/DreconDemo_timers.json @@ -1 +1 @@ -{"count":1,"self":56.0466304,"total":57.803192499999994,"children":{"InitializeActuators":{"count":1,"self":0.001005,"total":0.001005,"children":null},"InitializeSensors":{"count":1,"self":0.0010050999999999999,"total":0.0010050999999999999,"children":null},"AgentSendState":{"count":3108,"self":0.0218055,"total":0.641199,"children":{"CollectObservations":{"count":1554,"self":0.6033556,"total":0.6033556,"children":null},"WriteActionMask":{"count":1554,"self":0.0015044,"total":0.0015044,"children":null},"RequestDecision":{"count":1554,"self":0.0145335,"total":0.0145335,"children":null}}},"DecideAction":{"count":3108,"self":0.66401599999999994,"total":0.66401599999999994,"children":null},"AgentAct":{"count":3108,"self":0.4493371,"total":0.4493371,"children":null}},"gauges":{"DReCon-v0.CumulativeReward":{"count":1,"max":72.1043243,"min":72.1043243,"runningAverage":72.1043243,"value":72.1043243,"weightedAverage":72.1043243}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1712851609","unity_version":"2022.3.5f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.5f1\\Editor\\Unity.exe -projectpath C:\\Users\\caile\\Desktop\\Projects\\24_3-Moloch\\2_Unity\\Expeirments\\Drecon2022 -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-caile -hubSessionId e06e6a66-fc4f-47ff-ab1b-a6158c6e5744 -accessToken glZ5bBMEdkrTGI27K2niQCP1IQcygqyJ7kHayqUkY78005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"DreconDemo","end_time_seconds":"1712851667"}} \ No newline at end of file +{"count":1,"self":41.728025599999995,"total":42.859670699999995,"children":{"InitializeActuators":{"count":1,"self":0.0010088999999999999,"total":0.0010088999999999999,"children":null},"InitializeSensors":{"count":1,"self":0.0015128,"total":0.0015128,"children":null},"AgentSendState":{"count":1632,"self":0.0130808,"total":0.3490018,"children":{"CollectObservations":{"count":816,"self":0.3115556,"total":0.3115556,"children":null},"WriteActionMask":{"count":816,"self":0.0010082,"total":0.0010082,"children":null},"RequestDecision":{"count":816,"self":0.023357199999999998,"total":0.023357199999999998,"children":null}}},"DecideAction":{"count":1632,"self":0.5611894,"total":0.5611894,"children":null},"AgentAct":{"count":1632,"self":0.21893279999999998,"total":0.21893279999999998,"children":null}},"gauges":{"DReCon-v0.CumulativeReward":{"count":1,"max":58.6812553,"min":58.6812553,"runningAverage":58.6812553,"value":58.6812553,"weightedAverage":58.6812553}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1712912804","unity_version":"2022.3.5f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.5f1\\Editor\\Unity.exe -projectpath C:\\Users\\caile\\Desktop\\drecon-unity","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"DreconDemo","end_time_seconds":"1712912847"}} \ No newline at end of file diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index a29edbe..0a15987 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -836,7 +836,7 @@ PlayerSettings: useDeterministicCompilation: 1 additionalIl2CppArgs: scriptingRuntimeVersion: 1 - gcIncremental: 0 + gcIncremental: 1 gcWBarrierValidation: 0 apiCompatibilityLevelPerPlatform: {} m_RenderingPath: 1