I have a C# script on a character that holds a reference to a Prefab.
During initialization, the script runs :
weaponSlot = Instantiate(weaponPrefab) as Transform;
and sets
weaponSlot.parent = rightHand;
the prefab contains scaling information for the weapon, as well as some small rotation and position offsets for it to look correct.
When the game is run, the weapon's actual position is offset from the rightHand by a massive amount, although the rotation is preserved. The scaling is also a bit off, smaller than the prefab-ed size by roughly 40%.
Any insight on why this is happening, or even hints on what to check would be appreciated!