I've got two primary ability types: "Spells" and "Spirits". In combat, the Spirits menu is blank.

Outside of combat, "Spirits" does show the spells as existing, grayed out because they're only usable in battle.

When I change an ability's type from "Spirits" to "Spells", it does show in battle correctly. When I make a copy of the "Spells", that ability type does work correctly. When I change any of the abilities under "Spells" to "Spirits", they stop showing in the combat menu.

I've manually separated the ability menus in the battle menu, no change.

I've tried having the ability come from equipment, class, directly on combatant, issue is the same.

There is also an item type called "Spirits", but when renaming that it doesn't change anything.

The settings for both "Spells" and "Spirits" is identical. This is where I've isolated the issue to, is specifically with the ability type "Spirits". But there doesn't seem to be any reason for it. I've triple checked everything. I even made a copy of "Spirits" and THAT works totally fine. Even tried moving "Spirits" in the ability type order

Is there anything I can do besides make a new ability type and have to change all the data across my backend? Weirdest issue I've had
  • edited January 12
    @dunebug so you have an ability menu you can access in the field, I assume if you control map that, it works in battle too? Meaning it has its own menu settings and own UI box for a different menu, so if it works it's not the ability or type with the issue, it's the battle menu.

    Maybe battle menu ability type setting or a condition in displaying the ability type . Is there a HUD in the menu, or shortcuts , or other things besides the normal battle menu ability button? Because those could have other conditions happening. Since making a copy works, it seems like that type is specified somewhere or omitted, like it requires type spell only.

    Are you using the menu part abilities in the battle menu or is it a schematic?

    What do the ability battle menu settings look like?

    If you make spirits ability type a Subtype of spells do they show up? If there is a condition against spirits then they wouldn't show up if the type condition is explicitly selecting spirit type guid. Or it's the opposite and condition is for allowing spells and does Not include spirits, which making it a child would show up hmm. At least you could perhaps narrow something further trying that.


    Post edited by GeneralK on
  • All of this is just off the quick start tutorial still as I'm getting baseline stuff set up. So it's the menu set up during the tutorial, which is separate from the battle menu.

    So it's just the basic battle menu from there as well. There's nothing set for "Limit Ability Type". Making it a subtype does actually make the abilities appear and are usable. But then the "Spells" don't appear.

    I created another copy of Spirits, and moved "COPY of Spirits" above the Spirits menu... and then both populated correctly. Upon removing them as sub-type, they still work. Removed the COPY... And now everything works correctly. No other changes, just messing around with the ability types somehow resolved it. Pure witchcraft Thanks for helping lol!
  • And it's randomly stopped working again after playing with some ability subtypes, changing it back didn't fix it.. Hm. At least I have version control on.
  • Hm, it might be version control messing with references and/or the asset GUIDs in Unity?
    Check and reselect the ability type in the battle menu and the abilities and try saving.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.