Create a rogue, unchained type, with several levels (So, Rogue 3, for instance).
Set "Rogue" as favoured class, and add Favored Class options (for example, Bonus HP)
Add Unchained class type, and add options and bonuses.
Save (valid) character, close character, load saved character.
Summary now reports "Too many favored class bonuses) and "Too many unchained class bonuses" despite them being valid when saved.
Putting as Code rather than data, because the data appears to be working on creation, it's the saving/loading that's causing the issue.
can you take a look. I have a bunch of loop issues:
There seems to be a loop in the bonus resolution system.
I commented out the trapfinding ability from the cr_abilities_class and the issue went away.
My idea is that sneak attack and trap finding are somehow interlinked with eachother.
Of course this doesn't fix the issue but maybe sheds some light on what is causing it.
Yes, these errors indicate a cycle in the data, where A refers to B which refers to A (or perhaps a longer chain e.g. ABCA). While a lot of effort has gone into the bonus system to accomodate complex data structures, this sort of thing cannot be corrected reliably within the code and it would be of extreme risk to attempt it in the RC stage.