TextMeshPro errors after import
Install TextMeshPro Essentials from Unity when prompted. If no prompt appears, open Window > TextMeshPro > Import TMP Essential Resources. Core RPG UI uses modern Unity text workflows, so missing TMP resources can cause many console errors.
Cannot attack or context menu does not appear
- Confirm the target has a collider.
- Confirm the target has the correct context provider, such as
UnitContextActionProviderfor units. - Confirm the player has
InteractionManagerreferences assigned. - Confirm UI references for context menu and hover label are assigned.
- Confirm physics layers are included in the interaction raycast mask.
Item on item also equips the target
Make sure selected item use is consumed before direct equipment handling. The inventory UI should route selected use item behavior through ItemUseService before allowing normal equip/use behavior on the target item.
Fire does not despawn
The spawned fire prefab needs TemporaryFireObject or equivalent despawn logic attached.
Animator type mismatch warning
If InteractionClass drives a blend tree, make the Animator parameter a Float and cast or set it as a float in the controller. If using direct state transitions, an Int parameter is fine.
NullReferenceException on combat
Check that RPGUnitBrain, RPGCommandQueue, movement motor, UnitCombat, CombatStats, and UnitHealth are all present and assigned on the player/target hierarchy.