Chaos dungeon - skills unusable

Hi, I just went into a chaos dungeon and all my skills were red - I couldn’t cast anything. I eventually quit out and now I only have 50 resonance. That’s so unfair… what could cause that?

And I just worked out it’s because my weapon wasn’t equipped because of a transfer. That should really equip the item after the transfer rather than shoving it in inventory!