When you come across auto-relations not working, please check the following settings:
1.
2.Options , Relations/Snaps, and select Automatic relations.
3. If this issue is occurring in Assembly mode, please make sure that this option is not activated. .
‘No External References’ will remove all relations on your sketch and will disable you from adding any relations. This will cause issues when you make design changes because your references are lost.