I have a scriptable object like this:
using System;
using System.Collections.Generic;
using Alchemy.Serialization;
using UnityEngine;
[CreateAssetMenu(fileName = "FooSO", menuName = "Scriptable Objects/FooSO")]
[AlchemySerialize]
public partial class FooSO : ScriptableObject
{
[AlchemySerializeField, NonSerialized]
public HashSet<BarSO> BarSOs;
}
BarSO here is another normal non-Alchemy scriptable object. Sometimes when restarting the editor or switching scenes, all scriptable object assets derived from FooSO gets their BarSOs attribute reset to null.
I'm not sure how to reproduce it, but it seems to happen pretty frequently.
I have a scriptable object like this:
BarSOhere is another normal non-Alchemy scriptable object. Sometimes when restarting the editor or switching scenes, all scriptable object assets derived fromFooSOgets theirBarSOsattribute reset to null.I'm not sure how to reproduce it, but it seems to happen pretty frequently.