Troubleshooting¶
Every card uses the same design¶
Check ModularCardBase → ModularCardView → Design Override.
If it contains a template, it overrides every Card Definition. Clear it and save the prefab.
Sprite selections do not appear¶
- Confirm the Card Definition has a Design Template.
- Confirm the prefab contains
ModularCardView. - Press Auto Assign From Prefab.
- Confirm child object names match the expected hierarchy.
- Press Refresh Preview.
Cards are not drawn¶
Check the CardDealerManager:
- Deck is assigned
- Card Prefab is assigned
- Card Holder is assigned
- Deck contains valid Card Definitions
Cards do not fan out¶
Confirm UIHandLayout is on the direct parent of the card instances.
Hover switches endlessly¶
Keep Use Overlay Sorting and Create Overlay Canvas If Missing enabled on UIHandCardHover.
Other cards hover during drag¶
Use the current UIDragCard and UIHandCardHover versions. Other cards detect UIDragCard.ActiveDrag and suppress hover automatically.
TMP assembly reference errors¶
Confirm both assembly definitions reference Unity.TextMeshPro:
Runtime/CardFanUI.asmdefEditor/CardFanUI.Editor.asmdef
Camera or World Space dragging is offset¶
Assign the correct Canvas camera and use the current UIDragCard, which converts pointer coordinates through RectTransformUtility.