You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/09-troubleshooting/common-issues.mdx
+44-8Lines changed: 44 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -237,20 +237,56 @@ There are 2 possible solutions:
237
237
238
238
#### Error
239
239
240
+
Example when downloading an android docker image:
241
+
240
242
```plaintext
241
243
docker: failed to register layer: ApplyLayer exit status 1 stdout: stderr: write /opt/unity/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/9.0.8/lib/linux/x86_64/libFuzzer.a: no space left on device.
242
244
```
243
245
246
+
or when it's downloading a docker image for the windows target platform:
247
+
248
+
```plaintext
249
+
[...]
250
+
6fad6f1176e0: Verifying Checksum
251
+
6fad6f1176e0: Download complete
252
+
docker: failed to register layer: write /opt/unity/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.visualeffectgraph/Documentation~/Images/EventContexts.png: no space left on device.
253
+
```
254
+
255
+
#### Explanation
256
+
257
+
When executing multiple jobs sequentially in the same workflow, there can be potential disk space
258
+
issues. For instance, if your workflow first executes tests on one docker image, such as
259
+
`unityci/editor:ubuntu-2022.3.4f1-linux-il2cpp-2`, and subsequently runs a build on another target
260
+
platform, e.g., `unityci/editor:ubuntu-2022.3.4f1-windows-mono-2`, it might run out of space during
261
+
the build phase.
262
+
263
+
This happens because each job might be downloading and using its separate docker image, which can
264
+
collectively consume a significant amount of disk space.
265
+
244
266
#### Solution
245
267
246
-
The GitHub-hosted runners often do not have enough disk space for game dev projects. To work around
247
-
this limitation, you could try to use the
248
-
[Free Disk Space (Ubuntu)](https://github.com/marketplace/actions/free-disk-space-ubuntu) action at
249
-
the start of your workflow. If you still require additional disk space for your project, you could
0 commit comments