Hello @karthikprasath @
We apologize for the inconvenience. Please send us an error report from the Samsung members app -> Beta Feedback -> Error Reports if your primary WhatsApp is working ok but not secondary one. Also it is very much possible WhatsApp hasn't included support for this feature on Android 12 yet.
One Ui Beta Team