Hey everyone,
has anyone found a workaround for the “Loading Entity Scene failed because the entity header file could not be found” issue?
Stack Trace
05-17 20:32:12.260 29494 29599 E Unity : Loading Entity Scene failed because the entity header file could not be found: 11e1e15d2327b478f95f30fa9c5e7c93
05-17 20:32:12.260 29494 29599 E Unity : NOTE: In order to load SubScenes in the player you have to use the new BuildConfiguration asset based workflow to build & run your player.
05-17 20:32:12.260 29494 29599 E Unity : jar:file:///data/app/com.legioncommander-oxGu_0ZpZ0bEinxpzf7V-g==/base.apk!/assets/SubScenes/11e1e15d2327b478f95f30fa9c5e7c93.entityheader
05-17 20:32:12.260 29494 29599 E Unity : Unity.Scenes.ResolveSceneReferenceSystem:ResolveScene(Entity, SceneReference&, RequestSceneLoaded, Hash128)
05-17 20:32:12.260 29494 29599 E Unity : Unity.Entities.F_EDD`2:Invoke(Entity, T0&, T1&)
05-17 20:32:12.260 29494 29599 E Unity : Unity.Entities.EntityQuery:SetSharedComponentFilter(SharedComponent1)
05-17 20:32:12.260 29494 29599 E Unity : Unity.Scenes.ResolveSceneReferenceSystem:OnUpdate()
05-17 20:32:12.260 29494 29599 E Unity : Unity.Entities.ComponentSystem:Update()
05-17 20:32:12.260 29494 29599 E Unity : Unity.Entities.ComponentSystemGroup:UpdateAllSystems()
05-17 20:32:12.260 29494 29599 E Unity : Unity.Entities.ComponentSystem:Update()
05-17 20:32:12.260 29494 29599 E Unity : Unity.Entities.ComponentSystemGroup:UpdateAllSystems()
05-17 20:32:12.260 29494 29599 E Unity : Unity.Entities.ComponentSystem:Update()
05-17 20:32:12.260 29494 29599 E Unity : UnityEngine.LowLevel.UpdateFunction:Invoke()
I keep running into this issue every week or so (presumably when switching between git branches a bunch) and so far I had been lucky with nuking all the temporary folders via:
rm -rf ./Library ; rm -rf ./Temp ; rm -rf ./obj ; rm -rf ./Assets/StreamingAssets ; rm -rf ./Assets/SceneDependencyCache
, but today no more luck with this bazooka
The stack trace mentions that Entity header 11e1e15d2327b478f95f30fa9c5e7c93
can’t be found:
…but if I try to search for it, “it” (or some file with the same id) does seem to exist:
Note: Currently only looking at the issue on Android, so I guess focus on the “StagingArea” and “gradleOut” folders:
And yes, I’ve been able to build with the new build system many times before already
Here is my current package list:
Packages/manifest.json
{
“dependencies”: {
“com.google.external-dependency-manager”: “1.2.155”,
“com.google.firebase.analytics”: “6.14.0”,
“com.google.firebase.auth”: “6.14.0”,
“com.google.firebase.crashlytics”: “6.14.0”,
“com.google.firebase.database”: “6.14.0”,
“com.google.firebase.dynamic-links”: “6.14.0”,
“com.google.firebase.firestore”: “6.14.0”,
“com.google.firebase.functions”: “6.14.0”,
“com.google.firebase.instance-id”: “6.14.0”,
“com.google.firebase.messaging”: “6.14.0”,
“com.google.firebase.remote-config”: “6.14.0”,
“com.google.firebase.storage”: “6.14.0”,
“com.unity.2d.sprite”: “1.0.0”,
“com.unity.analytics”: “3.4.0”,
“com.unity.burst”: “1.3.0-preview.3”,
“com.unity.collab-proxy”: “1.2.16”,
“com.unity.device-simulator”: “2.0.0-preview”,
“com.unity.dots.editor”: “0.3.0-preview”,
“com.unity.entities”: “0.6.0-preview.24”,
“com.unity.ide.rider”: “2.0.2”,
“com.unity.ide.vscode”: “1.2.0”,
“com.unity.inputsystem”: “1.0.0-preview.7”,
“com.unity.jobs”: “0.2.5-preview.20”,
“com.unity.performance.profile-analyzer”: “0.6.0-preview.1”,
“com.unity.physics”: “0.2.5-preview.1”,
“com.unity.polybrush”: “1.0.1”,
“com.unity.probuilder”: “4.2.3”,
“com.unity.progrids”: “3.0.3-preview.6”,
“com.unity.quicksearch”: “1.5.3”,
“com.unity.render-pipelines.universal”: “7.3.1”,
“com.unity.rendering.hybrid”: “0.3.4-preview.24”,
“com.unity.terrain-tools”: “3.0.1-preview”,
“com.unity.test-framework”: “1.1.13”,
“com.unity.test-framework.performance”: “2.0.7-preview”,
“com.unity.textmeshpro”: “2.0.1”,
“com.unity.timeline”: “1.2.12”,
“com.unity.ugui”: “1.0.0”,
“com.unity.modules.ai”: “1.0.0”,
“com.unity.modules.androidjni”: “1.0.0”,
“com.unity.modules.animation”: “1.0.0”,
“com.unity.modules.assetbundle”: “1.0.0”,
“com.unity.modules.audio”: “1.0.0”,
“com.unity.modules.cloth”: “1.0.0”,
“com.unity.modules.director”: “1.0.0”,
“com.unity.modules.imageconversion”: “1.0.0”,
“com.unity.modules.imgui”: “1.0.0”,
“com.unity.modules.jsonserialize”: “1.0.0”,
“com.unity.modules.particlesystem”: “1.0.0”,
“com.unity.modules.physics”: “1.0.0”,
“com.unity.modules.physics2d”: “1.0.0”,
“com.unity.modules.screencapture”: “1.0.0”,
“com.unity.modules.terrain”: “1.0.0”,
“com.unity.modules.terrainphysics”: “1.0.0”,
“com.unity.modules.tilemap”: “1.0.0”,
“com.unity.modules.ui”: “1.0.0”,
“com.unity.modules.uielements”: “1.0.0”,
“com.unity.modules.umbra”: “1.0.0”,
“com.unity.modules.unityanalytics”: “1.0.0”,
“com.unity.modules.unitywebrequest”: “1.0.0”,
“com.unity.modules.unitywebrequestassetbundle”: “1.0.0”,
“com.unity.modules.unitywebrequestaudio”: “1.0.0”,
“com.unity.modules.unitywebrequesttexture”: “1.0.0”,
“com.unity.modules.unitywebrequestwww”: “1.0.0”,
“com.unity.modules.vehicles”: “1.0.0”,
“com.unity.modules.video”: “1.0.0”,
“com.unity.modules.vr”: “1.0.0”,
“com.unity.modules.wind”: “1.0.0”,
“com.unity.modules.xr”: “1.0.0”
},
“scopedRegistries”: [
{
“name”: “Game Package Registry by Google”,
“url”: “https://unityregistry-pa.googleapis.com”,
“scopes”: [
“com.google”
]
}
]
}
Regards,
Nicolas