public partial struct CrewMemberMovementSystem : ISystem {
private EntityQuery crewMembersQuery;
readonly partial struct CrewMemberAspect : IAspect {
public readonly Entity Self;
public readonly RefRW<PhysicsVelocity> PhysicsVelocity;
public readonly RefRW<PhysicsMass> PhysicsMass;
}
[BurstCompile]
public void OnCreate(ref SystemState state) {
state.RequireForUpdate<CrewMember>();
crewMembersQuery = new EntityQueryBuilder(Allocator.Persistent)
.WithAll<CrewMemberAspect, CrewMemberInput>()
.Build(state.EntityManager);
}
This gives me the attached error text.