Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2020.1.0b7
2020.2
Issue ID
1243451
Regression
No
Changing the type of script properties to custom Struct causes errors when values are changed in instance of Prefab
How to reproduce:
1. Open the attached project "1243451.zip"
2. Open the Scene "1"
3. Open script "Test.cs", comment lines 13, 14, 15, uncomment lines 17, 18, 19 and save changes
4. Change "Test" component values of GameObject "test"
Expected result: no errors are thrown
Actual result: errors appear in a Console
Reproducible with: 2018.4.22f1, 2019.3.13f1, 2020.1.0b8, 2020.2.0a9
Workaround: removing and readding GameObject to Scene solves the issue
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
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Resolution Note:
We are not supporting replacing the type of a field with another at this point and there is no short term plans to cover this. In the meantime the workaround is to use another name for the field of the new type.