I am experiencing very strange behaviour of unity engine…
public [abstract] class ActorGeneral : ScriptableObject
{
public string Name;
public Sprite Portrait;
}
There is inherited specific class from above.
But if I write [abstract] at above base class, derived specific scriptableObject’s inspector’s reference missed when turn off Unity and turn on Unity again after save scene, save project.
If I remove [abstract] at above base class, derived specific scriptableObject’s inspector’s reference live as normal.
And before hit the play button, this scriptableobject says there is script error and fix it, but just after press play button and play, its gone and works again.
I didn’t see the whole tut, but in the scripts on that page i dont see abstract anywhere. Abstract class can only be used as a base class, inherit a class from it and use that.