Search Issue Tracker

By Design

Votes

0

Found in

2019.4

2020.3

2020.3.12f1

2021.1

2021.2

2022.1

Issue ID

1347888

Regression

No

ScriptableObject functions with attributes are not inherited when Parent class has requirements for derived class type

Scripting

-

Steps to reproduce:
1. Open the attached project "ScriptableObjectInheritance.zip"
2. Enter the Play Mode
3. Observe the Console window

Expected result: All inherited functions are shown in the Console window
Actual result: Only not inherited functions/functions inherited without attributes are shown in the Console window

Reproducible with: 2019.4.29f1, 2020.3.13f1, 2021.1.16f1, 2021.2.0b4, 2022.1.0a3

  1. Resolution Note (2022.1.X):

    This is by design: RuntimeInitializeOnLoadMethod, and InitializeOnLoadMethod don't have any effect in generic types.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.