I’m using Cocos creator 2.4.10. It only supports 32 group. Is it possible to change it by modify the engine ?
You mean groups limit in Group Manager?

Yes, but it seem like collision manager does not support that many groups. Only 32 physics groups. That causes my group 33 collides group 1, 44 with 12, 37 with 5, etc.
you can the pic I post below, It can add more than 32 groups in Cocos2.4.13.
and Also It can support check more than 32 collides in Group Manager.
I can check collisions in editor, but when run game, it does not check collision like the matrix, like auto convert group to remainder of 32
Gotcha, Why do you use so many collides in your project?
Just a game with too many layers bro =))
Normally, in a game ,there will not so many groups and collides, I think you can simplify your game groups and collides. And could you please provide the demo for us to check this issue?

