Hey all, I'm brand new to Divinity's modding scene and I was just poking around all the options the engine gives and found the most curious issue while trying to get a baseline for creating new enemies. In the Stats Editor > Divinity: Original Sin 2 > Characters it seems the engine is unable to load the document greeted with these issues.
Editor: [StatsEditor] Can not load document.
Detailed error message: Cannot load stats because enumeration index is out of range.
Stack trace: at Stats.StatsDataModel.Stats.Fields.EnumerationStatObjectField.Load(XElement item)
at Stats.StatsDataModel.Stats.Fields.StatObjectFieldContainer.<Load>b__12_0(XElement e)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at Stats.StatsDataModel.Stats.Fields.StatObjectFieldContainer.Load(XElement item)
at Stats.StatsDataModel.Stats.Object.StatObject.Load(XElement item)
at Stats.StatsDataModel.Stats.Object.StatObjectContainer.<Load>b__10_0(XElement e)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at Stats.StatsDataModel.Stats.Object.StatObjectContainer.Load(XElement item)
at Stats.StatsDataModel.Stats.Stats.Load(XElement item)
at Stats.StatsEditor.Documents.StatsDocument.Load(String filePath)
This only happens with this file, the rest seem to work fine. I assume this is due to the file being too large to be loaded but how can I go about changing the enumeration index to allow said file to be loaded? Apologies if this has been asked before, I checked the forum out and it seems no one else has this issue. This happened before I made any changes to the files, it seems like by default it's too large.