Search Issue Tracker
Fixed in 2020.2
Fixed in 2018.4, 2019.4, 2020.1
Votes
10
Found in
2018.4
2018.4.23f1
2020.2
Issue ID
1255935
Regression
No
Crash when using AssetDatabase.FindAssets in a custom PropertyAttribute and when FormerlySerializedAs attribute is also used
How to reproduce:
1. Open user-submitted project (AssetDatabaseBug.zip)
2. Open the file 'TestClass.cs' and uncomment line 10([FormerlySerializedAs("pathToFile")]
3. Refocus Unity Editor to let the scripts recompile
Expected result: the Editor does not crash
Actual result: the Editor crashes
Reproducible with: 2018.4.24f1, 2019.4.1f1, 2020.1.0b13, 2020.2.0a15
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
- Changes to instanced detail mesh material don't immediately apply
- Undo.RegisterObject or Undo.CreateObject dirties the scene, but no actual changes to Scene are made
- [Profiler] Scrubbing through filtered frames or sorting their data replaces the displayed data with duplicated data entries
- [UI Builder] It is possible to add content to parent document while editing child document in place
- EndChangeCheck is not triggered when clearing the IMGUI search field by pressing the "x" button
Resolution Note (fix version 2020.2):
The cause of the crash was an exception being thrown in the constructor of a custom attribute. Instead of fatally asserting (crashing) the exception is raised and logged in the editor.
Fixed in 2020.2.0a21
Resolution Note (fix version 2020.1):
Fixed in 2020.1.4f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.10f1
Resolution Note (fix version 2018.4):
Fixed in 2018.4.29f1