I have a model that I have been trying to rig for hours now. I kept getting errors in unity when I used a rig in Blender, so I ran the model through Mixamo. This also had bad results, as the model's arms are severely deformed. However, this model has the proper hierarchy, etc. in Unity so I figured I could just modify the rig in Bender (the rig from Mixamo) and everything would be good. However, while I think the rig looks okay in pose mode, as soon as it enters a pose other than rest, the arms deform again. Any ideas why this might be happening?
If I'm not mistaken: based on what you're saying, you need to change a setting in your bone menu so that this deformation doesn't happen. Un-tick the box that controls this function; moreover, it's highly important that bones are not only correctly placed, but have the right mesh parts parented to them. An example of such is if the model is rotated without updating the bones themselves to accommodate this change (which then comes down to parenting). Such will result in distortion (e.g., a bone is assigned to the other arm instead of the arm it sits on).
For more on the topic of bone deformation see here: https://docs.blender.org/manual/en/dev/rigging/armatures/bones/properties/deform.html
And refer to this image for the deformation box: