I'm just learning the new Unity DHWs and I'm trying to change the size (scale) of an entity.

Everything works fine, I can change the rotation, the position *but not the scale*.

I wonder why.

I have done various tutorials, I have tried Scale, NonUniformScale, LocalToWorld, CompositScale but nothing works. Maybe some methods are out of date.

Here is what I have tried so far.

I have several prefabs (plans) that are generated correctly and each of them having a transformation component.

Now I want to change the scale of all planes.

For this, I use a JobComponentSystem.

In the following piece of code, the rotation works fine, but not the scaling.

I tried LocalToWorld.

```
public void Execute(ref Rotation rotation, ref LocalToWorld scale) {
rotation.Value = math.mul(rotation.Value, quaternion.RotateZ(math.radians(0)));
scale.Value = float4x4.Scale(2, 4, 5);
}
```

I tried NonUniformScale

```
public void Execute(ref Rotation rotation, ref NonUniformScale scale) {
rotation.Value = math.mul(rotation.Value, quaternion.RotateZ(math.radians(0)));
scale.Value = new float3(2, 1, 4);
}
```

I tried Scale.

```
public void Execute(ref Rotation rotation, ref Scale scale) {
rotation.Value = math.mul(rotation.Value, quaternion.RotateZ(math.radians(0)));
scale.Value = 5;
}
```

None of this works.

What have I done wrong (the scale is just 10,10,10) or what is the best way to do it right now?