Search Issue Tracker

Fixed

Fixed in 2021.3.45f1, 2022.3.49f1, 6000.0.21f1

Votes

66

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 (28)

  1. Davidnovarro

    Feb 22, 2024 12:17

    Every third build I have to completely shut down the unity and open again. This is ridiculous.

  2. novaVision

    Feb 15, 2024 05:26

    Always happens on 2022.3.15 after building the addressables. Each time after that I need to restart Unity Editor

  3. jivalenzuela

    Jan 29, 2024 03:01

    Thanks for all the reports folks. I think I have a repro and a handle on what's going on. Please stay posted.

  4. pavel_luden

    Jan 24, 2024 09:18

    I turned off "parallel import"
    editor -> project settings -> editor -> parallel import
    it helped in my case

  5. ThisIsNotMyName123

    Jan 10, 2024 16:37

    Unity 2022.3.16's known issues list says:
    "DOTS: [Android] [Entities] Build fails with the error “Asset has disappeared while building player to 'globalgamemanagers.assets' - path '', instancedID '-xxxxxx'“ when building (UUM-41830)"

    I want to highlight that this happens even without DOTS. We also get this error while building but we are not using DOTS at all.

  6. seobyeongky

    Jan 07, 2024 15:16

    Same here On 2022.3.14f1. Build fail sometimes, and next build works ok. But our build process took about 1 hour and 30 minutes, so I would happy if this issue will be resolved.

  7. Davidnovarro

    Nov 27, 2023 05:19

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

  8. ThisIsNotMyName123

    Nov 16, 2023 10:49

    Also, we are not using DOTS at all.

  9. 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?

  10. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.