Search Unity

`Could not open file .../StreamingAssets/SubScenes/*.entityheader for read` at runtime

Discussion in 'Entity Component System' started by steffy2, Jun 26, 2020.

  1. steffy2

    steffy2

    Joined:
    Oct 28, 2015
    Posts:
    5
    Hello!

    I have created a simple scene with few subscenes. Each subscene has a prefab with following components:
    • LODGroup
    • HLOD with attached appropriate LOD GameObjects
    • StaticOptimizeEntity
    (like in the Megacity demo)
    Everything works fine in Editor ( HLOD I mean ) but when I create a build for Windows after run at runtime there are errors:

    Could not open file .../StreamingAssets/SubScenes/68b0ba629adef124fa0111eeda0fdae4.entityheader for read


    and the prefab is not visible.

    Unity 2019.3.15f1

    {
    "dependencies": {
    "com.unity.collab-proxy": "1.2.16",
    "com.unity.entities": "0.11.1-preview.4",
    "com.unity.formats.fbx": "3.2.0-preview.2",
    "com.unity.ide.rider": "1.1.4",
    "com.unity.ide.vscode": "1.2.0",
    "com.unity.postprocessing": "2.3.0",
    "com.unity.render-pipelines.high-definition": "7.3.1",
    "com.unity.render-pipelines.high-definition-config": "file:../LocalPackages/com.unity.render-pipelines.high-definition-config",
    "com.unity.rendering.hybrid": "0.5.2-preview.4",
    "com.unity.test-framework": "1.1.14",
    "com.unity.textmeshpro": "2.0.1",
    "com.unity.timeline": "1.2.14",
    "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"
    }
    }
     
  2. Katerpilet

    Katerpilet

    Joined:
    Aug 2, 2015
    Posts:
    87