I made a report about crush (http://fogbugz.unity3d.com/default.asp?1193292), but, just in case, want to ask, if I use the new SerializeReference attribute correctly ?
-
What happened
Unity Crash after SerializableObject with [SerializeReference] -
How we can reproduce it using the example you attached
Use this class and choose from menu Create → Test
using System;
using System.Collections.Generic;
using UnityEngine;
namespace viewer.editor.info.ship
{
[CreateAssetMenu(fileName = “Test”, menuName = “Test”, order = 52)]
public class InfosTest : ScriptableObject
{
[SerializeField] private List infos = new List();
}
[Serializable]
public class InfoTest
{
[SerializeReference] private List infos = new List();
}
public interface ITest
{
}
}
Unity Version: 2019.3.0b7, Windows10