Skip to content

Merge com.unity.ml-agents.extensions into com.unity.ml-agents #6227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 30 commits into from
Jul 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
509a4bf
Move all files from the extension package to the main package
maryamziaa Jul 22, 2025
440743f
Update the extension tests
maryamziaa Jul 22, 2025
3bce3bd
Remove the duplicate condition
maryamziaa Jul 22, 2025
1f97457
Remove the duplicate condition
maryamziaa Jul 22, 2025
6391a89
Remove duplicate PhysicsMaterial
maryamziaa Jul 22, 2025
da5d781
Remove redundant import statements
maryamziaa Jul 22, 2025
befebd3
Remove Extensions meta file
maryamziaa Jul 22, 2025
886f881
Black reformatting
maryamziaa Jul 22, 2025
113f39f
Merge remote-tracking branch 'origin/develop' into merge-extensions-i…
maryamziaa Jul 23, 2025
9d47fe9
Remove duplicate entries
maryamziaa Jul 23, 2025
6dd1559
Move Runtime Input tests to a separate assembly
maryamziaa Jul 23, 2025
bfd96c1
Move Runtime example test to Tests
maryamziaa Jul 23, 2025
fc1db44
Update assembly
maryamziaa Jul 23, 2025
6cfad25
Update CHANGELOG.md
maryamziaa Jul 23, 2025
53f2134
Update inputsystem version in test assembly
maryamziaa Jul 24, 2025
3dc5882
Undo scene setting
maryamziaa Jul 24, 2025
f8f4c9f
Update the doc
maryamziaa Jul 24, 2025
4856cf4
Update the doc
maryamziaa Jul 24, 2025
0150980
Update scene setting
maryamziaa Jul 24, 2025
a4ab995
Update scene template
maryamziaa Jul 24, 2025
9e44c39
Update assembly
maryamziaa Jul 24, 2025
827d56e
Change namespace to Unity.MLAgents.Input
maryamziaa Jul 24, 2025
15ff1bb
Remove redundant import
maryamziaa Jul 24, 2025
8ad46c7
Remove unnecessary condition
maryamziaa Jul 25, 2025
b3c9106
Update assembly files
maryamziaa Jul 25, 2025
34a5098
Another update
maryamziaa Jul 25, 2025
1ce9848
Remove empty file
maryamziaa Jul 25, 2025
7bde130
Add MovedFrom tags
maryamziaa Jul 29, 2025
76bd2d4
Revert extension package change
maryamziaa Jul 30, 2025
9227488
Upgrade upm-pvp
maryamziaa Jul 30, 2025
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
3 changes: 0 additions & 3 deletions .yamato/com.unity.ml-agents-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ test_coverage_{{ package.name }}_{{ platform.name }}_{{ editor.version }}_{{ edi
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
pull_request.changes.any match " {{ editor.testProject }}/**" OR
{% if package.name == "com.unity.ml-agents.extensions" %}
pull_request.changes.any match "com.unity.ml-agents.extensions/**" OR
{% endif %}
pull_request.changes.any match ".yamato/com.unity.ml-agents-coverage.yml")
{% endif %}
{% endfor %}
Expand Down
2 changes: 2 additions & 0 deletions .yamato/com.unity.ml-agents-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ pack:
commands:
- |
eval "$($HOME/anaconda/bin/conda shell.bash hook)"
sudo apt-get update
sudo apt-get install upm-pvp=0.76.0
conda activate python3.10
python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
unity-downloader-cli -u 6000.0 -c editor --wait --fast
Expand Down
6 changes: 0 additions & 6 deletions .yamato/com.unity.ml-agents-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ packages:
- name: com.unity.ml-agents
assembly: Unity.ML-Agents
minCoveragePct: 72
- name: com.unity.ml-agents.extensions
assembly: Unity.ML-Agents.Extensions*
minCoveragePct: 75
---

all_package_tests:
Expand Down Expand Up @@ -102,9 +99,6 @@ test_{{ package.name }}_{{ platform.name }}_{{ editor.version }}_{{ editor.testP
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
pull_request.changes.any match " {{ editor.testProject }}/**" OR
{% if package.name == "com.unity.ml-agents.extensions" %}
pull_request.changes.any match "com.unity.ml-agents.extensions/**" OR
{% endif %}
pull_request.changes.any match ".yamato/com.unity.ml-agents-test.yml")
{% endif %}
{% endfor %}
Expand Down
1 change: 0 additions & 1 deletion .yamato/compressed-sensor-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ test_compressed_obs_{{ editor.version }}_{{ editor.extra_test }}:
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
pull_request.changes.any match "com.unity.ml-agents.extensions/**" OR
pull_request.changes.any match "Project/**" OR
pull_request.changes.any match "ml-agents/tests/yamato/**" OR
pull_request.changes.any match "ml-agents-envs/**" OR
Expand Down
3 changes: 0 additions & 3 deletions .yamato/coverage_tests.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ coverage_test_packages:
- name: com.unity.ml-agents
assembly: Unity.ML-Agents
minCoveragePct: 72
- name: com.unity.ml-agents.extensions
assembly: Unity.ML-Agents.Extensions*
minCoveragePct: 75
1 change: 0 additions & 1 deletion .yamato/standalone-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ test_linux_standalone_{{ editor.version }}_{{ editor.extra_test }}:
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
pull_request.changes.any match "com.unity.ml-agents.extensions/**" OR
pull_request.changes.any match ".yamato/standalone-build-test.yml") AND
NOT pull_request.changes.all match "**/*.md"
artifacts:
Expand Down
1 change: 0 additions & 1 deletion .yamato/training-int-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ test_linux_training_int_{{ editor.version }}_{{ editor.extra_test }}:
pull_request.target match "release.+") AND
NOT pull_request.draft AND
(pull_request.changes.any match "com.unity.ml-agents/**" OR
pull_request.changes.any match "com.unity.ml-agents.extensions/**" OR
pull_request.changes.any match "Project/**" OR
pull_request.changes.any match "ml-agents/**" OR
pull_request.changes.any match "ml-agents-envs/**" OR
Expand Down
2 changes: 0 additions & 2 deletions DevProject/Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"com.unity.coding": "0.1.0-preview.13",
"com.unity.inputsystem": "1.13.0",
"com.unity.ml-agents": "file:../../com.unity.ml-agents",
"com.unity.ml-agents.extensions": "file:../../com.unity.ml-agents.extensions",
"com.unity.multiplayer.center": "1.0.0",
"com.unity.package-manager-doctools": "3.0.0-preview",
"com.unity.package-validation-suite": "0.59.0-preview",
Expand All @@ -22,7 +21,6 @@
"registry": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates",
"testables": [
"com.unity.ml-agents",
"com.unity.ml-agents.extensions",
"com.unity.inputsystem"
]
}
9 changes: 0 additions & 9 deletions DevProject/Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,6 @@
"com.unity.modules.physics": "1.0.0"
}
},
"com.unity.ml-agents.extensions": {
"version": "file:../../com.unity.ml-agents.extensions",
"depth": 0,
"source": "local",
"dependencies": {
"com.unity.ml-agents": "3.0.0",
"com.unity.modules.physics": "1.0.0"
}
},
"com.unity.multiplayer.center": {
"version": "1.0.0",
"depth": 0,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Unity.MLAgents.Extensions.Input;
using Unity.MLAgents.Input;
using UnityEngine;
using UnityEngine.InputSystem;

Expand Down
2 changes: 0 additions & 2 deletions Project/Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"com.unity.ide.rider": "3.0.31",
"com.unity.inputsystem": "1.13.0",
"com.unity.ml-agents": "file:../../com.unity.ml-agents",
"com.unity.ml-agents.extensions": "file:../../com.unity.ml-agents.extensions",
"com.unity.multiplayer.center": "1.0.0",
"com.unity.nuget.newtonsoft-json": "3.2.1",
"com.unity.recorder": "5.1.2",
Expand All @@ -21,7 +20,6 @@
},
"testables": [
"com.unity.ml-agents",
"com.unity.ml-agents.extensions",
"com.unity.inputsystem"
]
}
9 changes: 0 additions & 9 deletions Project/Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,6 @@
"com.unity.modules.physics": "1.0.0"
}
},
"com.unity.ml-agents.extensions": {
"version": "file:../../com.unity.ml-agents.extensions",
"depth": 0,
"source": "local",
"dependencies": {
"com.unity.ml-agents": "3.0.0",
"com.unity.modules.physics": "1.0.0"
}
},
"com.unity.multiplayer.center": {
"version": "1.0.0",
"depth": 0,
Expand Down
7 changes: 6 additions & 1 deletion Project/ProjectSettings/SceneTemplateSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@
"type": "UnityEngine.PhysicMaterial",
"defaultInstantiationMode": 0
},
{
"userAdded": false,
"type": "UnityEngine.PhysicsMaterial",
"defaultInstantiationMode": 0
},
{
"userAdded": false,
"type": "UnityEngine.PhysicsMaterial2D",
Expand Down Expand Up @@ -118,4 +123,4 @@
"defaultInstantiationMode": 1
},
"newSceneOverride": 0
}
}
16 changes: 0 additions & 16 deletions com.unity.ml-agents.extensions/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions com.unity.ml-agents.extensions/.npmignore

This file was deleted.

6 changes: 0 additions & 6 deletions com.unity.ml-agents.extensions/CHANGELOG.md

This file was deleted.

7 changes: 0 additions & 7 deletions com.unity.ml-agents.extensions/CHANGELOG.md.meta

This file was deleted.

76 changes: 0 additions & 76 deletions com.unity.ml-agents.extensions/Documentation~/CustomGridSensors.md

This file was deleted.

This file was deleted.

Loading