Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.4.X, 2020.1.X
Votes
5
Found in
2018.4.25f1
2019.4.3f1
2020.1.0b15
2020.2.0a16
Issue ID
1267271
Regression
Yes
Building a project crashes when a Script Component has serialized array of a type that contains a serialized PropertyName field
How to reproduce:
1. Open the attached project (NamedPropertyBug.zip)
2. Click File -> Build and Run
Expected result: the project builds and runs successfully
Actual result: the Editor crashes without finishing the build
Reproducible with: 2018.4.25f1, 2018.4.26f1, 2019.4.3f1, 2019.4.8f1, 2020.1.0b15, 2020.1.2f1, 2020.2.0a16, 2020.2.0a21
Not reproducible with: 2018.4.24f1, 2019.4.2f1, 2020.1.0b14, 2020.2.0a15
First lines of the stacktrace:
0x00007FF7BEE5131E (Unity) SerializeTraits<PropertyName>::Transfer<GenerateTypeTreeTransfer>
0x00007FF7C19E8FEA (Unity) Transfer_Blittable_SingleValueField<GenerateTypeTreeTransfer,PropertyName>
0x00007FF7BEE9E7FB (Unity) ExecuteSerializationCommands<ConfigSettingsRead>
0x00007FF7C19EDD0B (Unity) SerializeTraits<ArrayOfManagedObjectsTransferer>::Transfer<GenerateTypeTreeTransfer>
0x00007FF7C19E9807 (Unity) Transfer_ManagedObject<GenerateTypeTreeTransfer,1>
Notes:
the issue doesn't occur when using an array of PropertyName or unserialized fields
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
- [iOS] Application frequently crashes on Social.LoadAchievements call when many achievements are registered
- Errors “RenderPass: Attachment 0 is declared as depth attachment but RGBA8 sRGB is not a valid depth format.“ and “BeginSubPass: Not inside a Renderpass“ are present when using Native RenderPass with a RenderTexture that only has depth output
- ArgumentOutOfRangeException is thrown when an empty DropdownField is clicked at runtime
- [tvOS] "EXC_BAD_ACCESS" error is thrown when Painter2D.ClosePath is called
- Bad Naming Convention in Shortcuts Window for Sprite Shape Editing
Resolution Note (fix version 2020.2):
Fixed in 2021.1.0a1
Resolution Note (fix version 2020.1):
Fixed in 2020.1.8f1
Resolution Note (fix version 2018.4):
Fixed in 2018.4.28f1