Search Issue Tracker
Won't Fix
Won't Fix in 2023.1.X
Votes
0
Found in
2019.4.0f2
2020.3.0f2
2021.3.8f1
2023.1.0a4
Issue ID
UUM-9547
Regression
No
Overriden property is not serialized in IL2CPP build when marked with [XmlIgnore]
Reproduction steps:
1. Open the attached project (IL2CPPBugRepro.zip)
2. Open the SampleScene.unity Scene, located in the Assets/Scenes folder of the Project window
3. Build And Run the project (File > Build And Run)
4. Observe the Input Field text
5. Change Scripting Backend to IL2CPP (Edit > Project Settings > Player > Other Settings > Configuration)
6. Build And Run the project (File > Build And Run)
7. Observe the Input Field text
Expected result: id property is correctly serialized in the IL2CPP build
Actual result: id property is not serialized in the IL2CPP build
Reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.3.4f1, 2022.1.5f1, 2022.2.0a17, 2023.1.0a1
Reproducible on: Windows 10 (21H2)
Notes:
- Using the 2019.4.39f1 and 2020.3.35f1 Editor versions, the property is not serialized in both Mono and IL2CPP builds
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
We don't plan to correct this bug. It is possible to work around it by removing the [XmlIgnore] attribute for IL2CPP builds.
Resolution Note (2023.1.X):
We don't plan to correct this bug. It is possible to work around it by removing the [XmlIgnore] attribute for IL2CPP builds.