找出作业调度里的 bug

来自 Unity DOTS
Unity 6.6 / Entities 1.4.8 / Burst 1.8.30 进阶 4分钟 找出 2处问题

找出这个生成系统中的依赖与调度问题。

csharp
[BurstCompile]
public partial struct VelocitySystem : ISystem
{
    [BurstCompile]
    public void OnUpdate(ref SystemState state)
    {
        var handle = new IntegrateVelocityJob()
            .ScheduleParallel();
        handle.Complete();
        state.Dependency = handle;
    }
}
在试验场中打开
报告错误