首页 > 解决方案 > (0,0) 对象引用未设置为对象 Unity 2018.1.2.f1 的实例

问题描述

编译错误

ECS 项目未编译。得到错误为The associated script can not be loaded. Please fix any compile errors and assign a valid script.

我该如何解决这个问题?

标签: unity3dcompilationamazon-ecs

解决方案


我用实体版本 0.0.12-preview 4 修复了它:

{
    "dependencies": {
        "com.unity.entities": "0.0.12-preview.4"
    }, 
    "registry": "https://packages.unity.com", 
    "testables": [
        "com.unity.collections", 
        "com.unity.entities", 
        "com.unity.jobs"
    ]
}

推荐阅读