Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.1.X, 2021.2.X
Votes
7
Found in
2020.3.1f1
2021.1
2021.2
2021.2.0b4
2022.1
Issue ID
1353925
Regression
Yes
Editor crashes on UnityEditor.Unsupported:IsDestroyScriptableObject when applying changes to a custom asset
Reproduction steps:
1. Open the user's attached project "ApplyIssue.zip"
2. Select Assets/Script.nani asset
3. In the Inspector window change the text on the first line and enter Play Mode
4. In the pop-up message select Save
Expected result: Changes are applied
Actual result: The editor crashes
Reproducible with: 2020.3.1f1, 2021.1.16f1, 2021.2.0b5, 2022.1.0a3
Not reproducible with: 2019.4.28f1, 2020.3.0f1
First lines of the stacktrace:
0x000001bbafc210a1 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Unsupported:IsDestroyScriptableObject (UnityEngine.ScriptableObject)
0x000001bd254fbe33 (Mono JIT Code) UnityEditor.AssetImporters.AssetImporterEditor:OnDisable ()
0x000001bd254fafb3 (Mono JIT Code) [ScriptImporterEditor.cs:83] Naninovel.ScriptImporterEditor:OnDisable ()
0x000001bc6e12e0b8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ffc691d7ed0 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
Notes:
-Reproducible on windows and macOS
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a6
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b13
Resolution Note (fix version 2021.1):
Fixed in 2021.1.25f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.21f1