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