If the hinge works by itself, and it works when it's the latest component added to the assembly, it's probably getting messed up by a component that was added later on. Roll back the assembly to find the offending component and redefine its constraints correctly. There might be a problem with the hinge assembly itself, but I can't tell without seeing it. Can you upload an assembly that would illustrate your problem?