Search Issue Tracker
Active
Votes
0
Found in [Package]
1.28.0
2.7.4
Issue ID
ADDR-4110
Regression
Yes
"Assigned editorAsset does not match type TObject" warning when assigning a class inheriting from TObject to a ScriptableObject using AssetReferenceT<TObject>
Reproduction steps:
1. Open the attached project "WarningAssetReference.zip"
2. Select the "Assets/Example.asset" in the Project tab
3. Assign "Assets/Inheritance.asset" to "AssetReference" in the Inspector
4. Observe the Console
Expected result: No warning gets thrown
Actual result: "Assets/Inheritance.asset" does get assigned to AssetReference, but a "Assigned editorAsset does not match type Base. EditorAsset will be null." warning gets thrown
Reproducible in: 1.21.3 (2023.2.0a1), 1.28.0 (2023.2.0a1), 2.7.4 (6000.0.60f1, 6000.2.8f1, 6000.3.0b5, 6000.4.0a3)
Not reproducible in: 1.21.2 (2023.2.0a1)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment