Search Issue Tracker

Active

Under Consideration for 2022.3.X

Votes

45

Found in

2022.3.4f1

Issue ID

UUM-41830

Regression

No

[Android] [Entities] Build fails with the error “Asset has disappeared while building player to 'globalgamemanagers.assets' - path '', instancedID '-xxxxxx'“ when building

--

-

Reproduction steps:
1. Open the attached project "ReproProj" with the Android Platform
2. Open the “/Assets/_Scenes/Game.unity” Scene
3. Press Build in File > Build Settings
4. Repeat step 3 for 6 times

Expected result: Build succeeds all 6 times
Actual result: At some point build fails and the error “Asset has disappeared while building player to 'globalgamemanagers.assets' - path '', instancedID '-xxxxxx'“ appears in the Console window

Reproducible with: 1.0.10 (2022.3.4f1), 1.0.11 (2022.3.4f1)

Testing environment: Windows 10 Enterprise 21H2

Notes:
- Might be reproducible with Windows Standalone Platform
- Most of the time it takes more than 6 times to reproduce the issue. It reproduces at random moments
- After getting the error it usually takes another attempt to build successfully
- It will reproduce more often after changing reference at prefab and triggering baking at dots project or compiling code than building the Player

Comments (22)

  1. Davidnovarro

    Nov 27, 2023 05:19

    Same issue here, our builds fail exactly 50% of the time which is ridiculously annoying.

  2. ThisIsNotMyName123

    Nov 16, 2023 10:49

    Also, we are not using DOTS at all.

  3. ThisIsNotMyName123

    Nov 16, 2023 10:48

    We are also encountering this issue. We use M1 Macs to build and it happens seemingly on all machines, and only a complete reboot of the computer resolves this issue. We produce builds for various build targets and the issue seems to be agnostic of what the target platform is -- once it starts happening only a reboot of the machine helps.
    Could Unity be leaking file handles in some process it depends on?

  4. baggyg

    Nov 08, 2023 00:46

    Same here with 2022.3.12f. Happens maybe every 3rd time I am building. Need to exit the project, reload and rebuild.

  5. samol2014

    Oct 26, 2023 10:00

    Same here with Unity 2022.3.8f1 when building for iOS on MacOS.

  6. roxanne-thegamebakers

    Oct 23, 2023 13:29

    Same here on Unity 2022.3.10f1, Windows Standalone build

  7. joebain

    Oct 12, 2023 17:45

    I'm constantly getting this issue, along with other colleagues on the same project. Error happens when making windows, macos or webgl builds. Unity version 2022.3.7f1.

  8. Tortuap

    Oct 03, 2023 16:46

    Got this error every two builds (Unity 2022.3.6f1).

  9. Tortuap

    Oct 03, 2023 16:44

    Same here, Unity 2022.3.6f1, standalone Windows build.

  10. GabrielCirera

    Oct 02, 2023 08:12

    Same here with Unity 2022.3.5f1 Android builds. I cannot build at all, tried many times with no luck.

Add comment

Log in to post comment