game-ci / game-ci/unity-orb

Unity 2020.3.44f1LTS new Project failed build with error

Open
#49 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
11
Forks
13
PR merge metrics
No merged PRs in 30d

Description

**Orb version**

1.4.0

**Execution environment**
linux

- Executor: unity/ubuntu
- Target platform: android, windows
- Unity Editor version: 2020.3.44f1 LTS

**Bug description**

Failed to build a new project version 2020.3.44f1LTS

**How to reproduce**

Create a new project on 2020.3.44f1LTS
Use CircleCi Orb with Game Ci 1.4.0

-

**Expected behavior**

**Additional details**

CircleCi shows:

```
[/opt/unity/Editor/Data/Resources/PackageManager/Editor/com.unity.purchasing.udp-2.0.0.tgz] to the package cache:
EINVAL: invalid argument, fchown. No packages loaded.
Maybe permission error

Full Report:

[Package Manager] Server::Start -- Port 60657 was selected

COMMAND LINE ARGUMENTS:
/opt/unity/Editor/Unity
-batchmode
-projectPath
/root/project/.
-quit
-batchmode
-nographics
-buildTarget
Android
-customBuildTarget
Android
-customBuildName
Test
-customBuildPath
/root/project/./Builds/Android/
-executeMethod
BuildCommand.PerformBuild
-logFile
/dev/stdout
Successfully changed project path to: /root/project/.
/root/project
Using Asset Import Pipeline V2.
Player connection [139763510092544] Host "[IP] 192.168.0.3 [Port] 55496 [Flags] 2 [Guid] 3055742242 [EditorId] 3055742242 [Version] 1048832 [Id] LinuxEditor(16,192.168.0.3) [Debug] 1 [PackageName] LinuxEditor [ProjectName] Editor" joined multi-casting on [225.0.0.222:54997]...

Player connection [139763510092544] Host "[IP] 192.168.0.3 [Port] 55496 [Flags] 2 [Guid] 3055742242 [EditorId] 3055742242 [Version] 1048832 [Id] LinuxEditor(16,192.168.0.3) [Debug] 1 [PackageName] LinuxEditor [ProjectName] Editor" joined alternative multi-casting on [225.0.0.222:34997]...

Rebuilding Library because the asset database could not be found!
[Package Manager] Done resolving packages with errors in 9.43s seconds
Failed to resolve packages: Failed to add editor bundled package [/opt/unity/Editor/Data/Resources/PackageManager/Editor/com.unity.purchasing.udp-2.0.0.tgz] to the package cache:
EINVAL: invalid argument, fchown. No packages loaded.

A re-import of the project may be required to fix the issue or a manual modification of /root/project/Packages/manifest.json file.

Exited with code exit status 1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.