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
- Importing a theme through the Inspector allows circular import
- FocusNextInDirection not focusing when used on multiline TextFields
- Single click calls UI Element renaming with a delay when clicked on the UI Element name
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
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