Problems with 3dsmax twist bones.

After importing mesh to UE it looks fine in ref pose but deformed while animating.
I noticed that I can make it look almost right if I manually rotate twist bones at about 40 degrees. Azis seem to differ for different bones - Z only, or Z and Y sometimes.
But after that model is screwed in ref pose.

Is there any way to solve this? I’d really like to keep using twist bones to prevent wrist and shoulder twisting.

Is this a known issue, fix/solution planned?

I think I got it. Posted solution at my duplicate thread here