Open max-critcrew opened 2 months ago
@AnnulusGames Heya! I hope it's okay if I ping you here! I was wondering if you got any idea what this might be caused by. Otherwise, I might have a look son how/if I can fix this.
Same problem. I suspected the problem was due to the language used, but it seems to occur in all languages. (I use Japanese for UnityEditor).
Unity Version: 2022.3.10f1 Alchemy Version: 2.0.1
A temporary solution is to add an [OnListViewChanged] attribute to the main double-nested list to ignore the error. For example, a ScriptableObject written as follows will not raise an error
public class Test : ScriptableObject
{
[OnListViewChanged]
public List<DummyData> craftLineupList = new List<CraftLineup>();
}
[System.Serializable]
public class DummyData
{
public List<string> craftLineupItemNames = new List<string>();
}
@smile12yen thanks so much, this is some good news! Do you have any idea if this causes any possible side effects? :)
@max-critcrew
It works temporarily, but I don't know what side effects it has for me.
Adding this attribute seems to solve the problem by allowing event handling when a list is added or removed, but the attribute should normally be added automatically from the editor script.
(This attribute itself is contained in Alchemy.Inspector.)
I will try this method for a while and will report any side effects.
Thank you!
In case it helps it also works to disable the AlchemyEditor for this class with [DisableAlchemyEditor]
It somewhat defeats the purpose of using Alchemy of course :)
Hey,
first of all - we love Alchemy and this is our first issue we're encountering. So we wanted to report it, to see if anyone has a fix already.
Unity Version: 2022.3.17f1 Alchemy Version: 2.0.1
Example reproduction code file:
Simply add this to any GameObject and press plus in the nested lists:
Error in screenshot:
Error as text:
Thanks for your time looking at this and if you got any input or ideas, let us know :)