Search Issue Tracker
Won't Fix
Votes
10
Found in
2021.3.27f1
2022.3.3f1
2023.1.0a21
2023.1.2f1
Issue ID
UUM-40829
Regression
No
Property is not serialized when it is implemented from an Interface
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. In the Hierarchy Window, select “Select_Me” GameObject
4. In the Inspector Window, Observe the “Test Mono Behaviour (Script)” Component
Expected result: The Component contains serialized “TestProperty” Property
Actual result: The Component contains no properties
Reproducible with: 2021.3.27f1, 2022.3.3f1, 2023.1.2f1, 2023.2.0a21
Reproducible on: Intel MacOS 13.4
-
Radusek
Jun 29, 2023 11:36
Just please make sure that such properties do not appear in the inspector if they are said to be not serialized by design.
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 ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
- [HDRP] Light doesn't bounce off terrains
- Unity Hub opens instead of the Unity Editor when launching a project from a Windows command line if a backslash is added to the end of the project path
- "ParseErrorException" is thrown when parsing a float with a very small value from JSON
Resolution Note:
Running the repro steps on the latest 2021.3, 2022.3, 2023.1 and 2023.2 we can confirm that the non-serialize property is not shown in the inspector.
Please feel free to re-open the bug, if you can reproduce it. Make sure to attach up to date repro steps, including the unity version and the platform you're using.