Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
f42887d
Fixing crash when Editor Application is quitting in Runtime Mode
Codengineer Dec 10, 2025
22b8591
Adding entry in change log
Codengineer Dec 10, 2025
a4a6009
trunk test are unstable changing to 6.3
Codengineer Dec 11, 2025
6280dd5
Fixing Issue #6268
Codengineer Dec 16, 2025
6019fa2
Fixing pre-commit
Codengineer Dec 16, 2025
dbf1380
Fixing Pre-commit
Codengineer Dec 16, 2025
c9128f4
Changing order of operations in pre-commit
Codengineer Dec 16, 2025
4c2c465
Still fixing pre-commit stuff
Codengineer Dec 16, 2025
04783ef
Fixing python formatting with black
Codengineer Dec 16, 2025
3dacc46
removing --no-restore flag
Codengineer Dec 16, 2025
d24a865
Upgrade ML-Agents to 4.0.1 (#6269)
Codengineer Dec 19, 2025
7c8657e
Fix colab tests (#6256)
maryamziaa Jan 7, 2026
69bd2e8
Enable the default registry (#6272)
maryamziaa Jan 7, 2026
893cb55
Fixing crash when Editor Application is quitting in Runtime Mode
Codengineer Dec 10, 2025
aab6112
Adding entry in change log
Codengineer Dec 10, 2025
fe3ee91
Fixing Issue #6268
Codengineer Dec 16, 2025
e9f3693
Fixing pre-commit
Codengineer Dec 16, 2025
ec1233a
Fixing Pre-commit
Codengineer Dec 16, 2025
366bfad
Changing order of operations in pre-commit
Codengineer Dec 16, 2025
2421e34
Still fixing pre-commit stuff
Codengineer Dec 16, 2025
5352ddd
Fixing python formatting with black
Codengineer Dec 16, 2025
5c63030
removing --no-restore flag
Codengineer Dec 16, 2025
7d9ac65
Removing Claude.md from repo
Codengineer Jan 8, 2026
797954c
Merge remote-tracking branch 'origin/bobd/crash_quit_in_run_mode' int…
Codengineer Jan 8, 2026
63506b9
Removing Claude.md
Codengineer Jan 8, 2026
cdd8af1
Fixing Issue #6268
Codengineer Dec 16, 2025
ffc22cc
Fixing pre-commit
Codengineer Dec 16, 2025
f4e397b
Still fixing pre-commit stuff
Codengineer Dec 16, 2025
7b4a840
Fixing python formatting with black
Codengineer Dec 16, 2025
f543eba
Removing Claude.md
Codengineer Jan 8, 2026
509c499
Merge remote-tracking branch 'origin/bobd/crash_quit_in_run_mode' int…
Codengineer Jan 8, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/colab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
colab:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
env:
COLAB_ALWAYS_INSTALL_XVFB: 1
QLEARNING_NUM_TRAINING_STEPS: 5
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ jobs:
pre-commit:
runs-on: ubuntu-24.04
env:
DOTNET_NOLOGO: 1
DOTNET_NOLOGO: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1"
DOTNET_CLI_HOME: "${{ github.workspace }}/.dotnet"
NUGET_PACKAGES: "${{ github.workspace }}/.nuget/packages"
TMPDIR: "${{ github.workspace }}/.tmp"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -25,15 +29,20 @@ jobs:
with:
ruby-version: '2.7'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Create writable dirs
run: |
mkdir -p "$DOTNET_CLI_HOME" "$NUGET_PACKAGES" "$TMPDIR"
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.202'
- name: Clean dotnet shared memory
run: sudo rm -rf /tmp/.dotnet/shm
- name: Install manual dependencies
run: |
python -m pip install pre-commit
pre-commit install
- name: Pre-warm dotnet
run: |
dotnet --info
dotnet restore || true
- name: Run pre-commit
run: |
pre-commit run --all-files
Expand Down
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ repos:
- id: dotnet-format
name: dotnet-format
language: system
entry: dotnet format whitespace --folder --include
entry: dotnet format whitespace --folder --include . --verify-no-changes
pass_filenames: false
types_or: ["c#"]
- id: markdown-link-check
name: markdown-link-check
Expand Down
2 changes: 1 addition & 1 deletion .yamato/com.unity.ml-agents-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test_editors:
enableNoDefaultPackages: !!bool true

trunk_editor:
- version: trunk
- version: 6000.4
testProject: DevProject

test_platforms:
Expand Down
2 changes: 1 addition & 1 deletion .yamato/test_versions.metafile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ test_editors:
extra_test: gym
- version: 6000.0
extra_test: sensor
- version: trunk
- version: 6000.3
extra_test: llapi
34 changes: 31 additions & 3 deletions DevProject/Packages/packages-lock.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"dependencies": {
"com.unity.ai.inference": {
"version": "2.2.1",
"version": "2.4.1",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.burst": "1.8.17",
"com.unity.collections": "2.4.3",
"com.unity.modules.imageconversion": "1.0.0"
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.dt.app-ui": "1.3.1",
"com.unity.nuget.newtonsoft-json": "3.2.1"
},
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
Expand Down Expand Up @@ -51,6 +53,18 @@
},
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.dt.app-ui": {
"version": "1.3.1",
"depth": 2,
"source": "registry",
"dependencies": {
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.screencapture": "1.0.0"
},
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.ext.nunit": {
"version": "2.0.5",
"depth": 1,
Expand Down Expand Up @@ -79,7 +93,7 @@
"depth": 0,
"source": "local",
"dependencies": {
"com.unity.ai.inference": "2.2.1",
"com.unity.ai.inference": "2.4.1",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.physics": "1.0.0"
Expand Down Expand Up @@ -200,6 +214,12 @@
"source": "builtin",
"dependencies": {}
},
"com.unity.modules.androidjni": {
"version": "1.0.0",
"depth": 3,
"source": "builtin",
"dependencies": {}
},
"com.unity.modules.hierarchycore": {
"version": "1.0.0",
"depth": 1,
Expand Down Expand Up @@ -236,6 +256,14 @@
"source": "builtin",
"dependencies": {}
},
"com.unity.modules.screencapture": {
"version": "1.0.0",
"depth": 3,
"source": "builtin",
"dependencies": {
"com.unity.modules.imageconversion": "1.0.0"
}
},
"com.unity.modules.ui": {
"version": "1.0.0",
"depth": 0,
Expand Down
20 changes: 17 additions & 3 deletions PerformanceProject/Packages/packages-lock.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"dependencies": {
"com.unity.ai.inference": {
"version": "2.2.1",
"version": "2.4.1",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.burst": "1.8.17",
"com.unity.collections": "2.4.3",
"com.unity.modules.imageconversion": "1.0.0"
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.dt.app-ui": "1.3.1",
"com.unity.nuget.newtonsoft-json": "3.2.1"
},
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
Expand Down Expand Up @@ -40,6 +42,18 @@
},
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.dt.app-ui": {
"version": "1.3.1",
"depth": 2,
"source": "registry",
"dependencies": {
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.screencapture": "1.0.0"
},
"url": "https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates"
},
"com.unity.editorcoroutines": {
"version": "1.0.0",
"depth": 1,
Expand Down Expand Up @@ -106,7 +120,7 @@
"depth": 0,
"source": "local",
"dependencies": {
"com.unity.ai.inference": "2.2.1",
"com.unity.ai.inference": "2.4.1",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.physics": "1.0.0"
Expand Down
32 changes: 30 additions & 2 deletions Project/Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
"url": "https://packages.unity.com"
},
"com.unity.ai.inference": {
"version": "2.2.1",
"version": "2.4.1",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.burst": "1.8.17",
"com.unity.dt.app-ui": "1.3.1",
"com.unity.collections": "2.4.3",
"com.unity.nuget.newtonsoft-json": "3.2.1",
"com.unity.modules.imageconversion": "1.0.0"
},
"url": "https://packages.unity.com"
Expand Down Expand Up @@ -58,6 +60,18 @@
},
"url": "https://packages.unity.com"
},
"com.unity.dt.app-ui": {
"version": "1.3.1",
"depth": 2,
"source": "registry",
"dependencies": {
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.uielements": "1.0.0",
"com.unity.modules.screencapture": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.ext.nunit": {
"version": "2.0.5",
"depth": 1,
Expand Down Expand Up @@ -105,7 +119,7 @@
"depth": 0,
"source": "local",
"dependencies": {
"com.unity.ai.inference": "2.2.1",
"com.unity.ai.inference": "2.4.1",
"com.unity.modules.imageconversion": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.physics": "1.0.0"
Expand Down Expand Up @@ -218,6 +232,12 @@
"source": "builtin",
"dependencies": {}
},
"com.unity.modules.androidjni": {
"version": "1.0.0",
"depth": 3,
"source": "builtin",
"dependencies": {}
},
"com.unity.modules.animation": {
"version": "1.0.0",
"depth": 2,
Expand Down Expand Up @@ -281,6 +301,14 @@
"source": "builtin",
"dependencies": {}
},
"com.unity.modules.screencapture": {
"version": "1.0.0",
"depth": 3,
"source": "builtin",
"dependencies": {
"com.unity.modules.imageconversion": "1.0.0"
}
},
"com.unity.modules.ui": {
"version": "1.0.0",
"depth": 1,
Expand Down
47 changes: 5 additions & 42 deletions colab/Colab_UnityEnvironment_1_Run.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -76,50 +76,13 @@
" INSTALL_XVFB = 'COLAB_ALWAYS_INSTALL_XVFB' in os.environ\n",
"\n",
"if INSTALL_XVFB:\n",
" with open('frame-buffer', 'w') as writefile:\n",
" writefile.write(\"\"\"#taken from https://gist.github.com/jterrace/2911875\n",
"XVFB=/usr/bin/Xvfb\n",
"XVFBARGS=\":1 -screen 0 1024x768x24 -ac +extension GLX +render -noreset\"\n",
"PIDFILE=./frame-buffer.pid\n",
"case \"$1\" in\n",
" start)\n",
" echo -n \"Starting virtual X frame buffer: Xvfb\"\n",
" /sbin/start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS\n",
" echo \".\"\n",
" ;;\n",
" stop)\n",
" echo -n \"Stopping virtual X frame buffer: Xvfb\"\n",
" /sbin/start-stop-daemon --stop --quiet --pidfile $PIDFILE\n",
" rm $PIDFILE\n",
" echo \".\"\n",
" ;;\n",
" restart)\n",
" $0 stop\n",
" $0 start\n",
" ;;\n",
" *)\n",
" echo \"Usage: /etc/init.d/xvfb {start|stop|restart}\"\n",
" exit 1\n",
"esac\n",
"exit 0\n",
" \"\"\")\n",
" !sudo apt-get update\n",
" pro_bar.update(progress(10, 100))\n",
" !sudo DEBIAN_FRONTEND=noninteractive apt install -y daemon wget gdebi-core build-essential libfontenc1 libfreetype6 xorg-dev xorg\n",
" pro_bar.update(progress(20, 100))\n",
" !wget http://security.ubuntu.com/ubuntu/pool/main/libx/libxfont/libxfont1_1.5.1-1ubuntu0.16.04.4_amd64.deb 2>&1\n",
" pro_bar.update(progress(30, 100))\n",
" !wget --output-document xvfb.deb http://security.ubuntu.com/ubuntu/pool/universe/x/xorg-server/xvfb_1.18.4-0ubuntu0.12_amd64.deb 2>&1\n",
" pro_bar.update(progress(40, 100))\n",
" !sudo dpkg -i libxfont1_1.5.1-1ubuntu0.16.04.4_amd64.deb 2>&1\n",
" !sudo apt-get update -qq\n",
" pro_bar.update(progress(50, 100))\n",
" !sudo dpkg -i xvfb.deb 2>&1\n",
" pro_bar.update(progress(70, 100))\n",
" !rm libxfont1_1.5.1-1ubuntu0.16.04.4_amd64.deb\n",
" pro_bar.update(progress(80, 100))\n",
" !rm xvfb.deb\n",
" !sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -qq xvfb\n",
" pro_bar.update(progress(90, 100))\n",
" !bash frame-buffer start\n",
" import subprocess\n",
" subprocess.Popen(['Xvfb', ':1', '-screen', '0', '1024x768x24', '-ac', '+extension', 'GLX', '+render', '-noreset'], \n",
" stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)\n",
" os.environ[\"DISPLAY\"] = \":1\"\n",
"pro_bar.update(progress(100, 100))"
],
Expand Down
47 changes: 5 additions & 42 deletions colab/Colab_UnityEnvironment_2_Train.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,50 +70,13 @@
" INSTALL_XVFB = 'COLAB_ALWAYS_INSTALL_XVFB' in os.environ\n",
"\n",
"if INSTALL_XVFB:\n",
" with open('frame-buffer', 'w') as writefile:\n",
" writefile.write(\"\"\"#taken from https://gist.github.com/jterrace/2911875\n",
"XVFB=/usr/bin/Xvfb\n",
"XVFBARGS=\":1 -screen 0 1024x768x24 -ac +extension GLX +render -noreset\"\n",
"PIDFILE=./frame-buffer.pid\n",
"case \"$1\" in\n",
" start)\n",
" echo -n \"Starting virtual X frame buffer: Xvfb\"\n",
" /sbin/start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS\n",
" echo \".\"\n",
" ;;\n",
" stop)\n",
" echo -n \"Stopping virtual X frame buffer: Xvfb\"\n",
" /sbin/start-stop-daemon --stop --quiet --pidfile $PIDFILE\n",
" rm $PIDFILE\n",
" echo \".\"\n",
" ;;\n",
" restart)\n",
" $0 stop\n",
" $0 start\n",
" ;;\n",
" *)\n",
" echo \"Usage: /etc/init.d/xvfb {start|stop|restart}\"\n",
" exit 1\n",
"esac\n",
"exit 0\n",
" \"\"\")\n",
" !sudo apt-get update\n",
" pro_bar.update(progress(10, 100))\n",
" !sudo DEBIAN_FRONTEND=noninteractive apt install -y daemon wget gdebi-core build-essential libfontenc1 libfreetype6 xorg-dev xorg\n",
" pro_bar.update(progress(20, 100))\n",
" !wget http://security.ubuntu.com/ubuntu/pool/main/libx/libxfont/libxfont1_1.5.1-1ubuntu0.16.04.4_amd64.deb 2>&1\n",
" pro_bar.update(progress(30, 100))\n",
" !wget --output-document xvfb.deb http://security.ubuntu.com/ubuntu/pool/universe/x/xorg-server/xvfb_1.18.4-0ubuntu0.12_amd64.deb 2>&1\n",
" pro_bar.update(progress(40, 100))\n",
" !sudo dpkg -i libxfont1_1.5.1-1ubuntu0.16.04.4_amd64.deb 2>&1\n",
" !sudo apt-get update -qq\n",
" pro_bar.update(progress(50, 100))\n",
" !sudo dpkg -i xvfb.deb 2>&1\n",
" pro_bar.update(progress(70, 100))\n",
" !rm libxfont1_1.5.1-1ubuntu0.16.04.4_amd64.deb\n",
" pro_bar.update(progress(80, 100))\n",
" !rm xvfb.deb\n",
" !sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -qq xvfb\n",
" pro_bar.update(progress(90, 100))\n",
" !bash frame-buffer start\n",
" import subprocess\n",
" subprocess.Popen(['Xvfb', ':1', '-screen', '0', '1024x768x24', '-ac', '+extension', 'GLX', '+render', '-noreset'], \n",
" stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)\n",
" os.environ[\"DISPLAY\"] = \":1\"\n",
"pro_bar.update(progress(100, 100))"
],
Expand Down
Loading
Loading