Rigid body 2d. mass is always 1

Hi, I read that if I increase the density of collider, the rigid body mass will become bigger, but with density 0, 1 or 100 the mass stays at value 1.

can you offer more details about your settings? we can not reproduce your result.

Here is my global settings:

Here is my entity settings:

Logs I put:

And the result:

image

And here is, I changed the density and radius. Mass is still 1.

image

And when a bullet with density 1 and radius 5 collides with a Monster with density 100 and radius 100, the monster took a big impulse and flies away of the screen.

Cocos version 3.7.3

The Collider2D has not been initialized in the onLoad, try to get the mass in the onEnable