Search Issue Tracker
Fixed in 2019.2.X
Votes
0
Found in
2019.1.0b2
2019.2.0a4
2019.2.0b2
2019.3.0a1
Issue ID
1156233
Regression
Yes
PropertyFields added in OnCreateInspector Method disappear after adding other Components to the GameObject
How to reproduce:
1. Open the "SampleScene" Scene in the attached "Unity2019.2-UIElementsInspectorIssue.zip" Project
2. Click on "MyObject" GameObject
3. If "MyComponentA" is corrupt in the inspector - remove it and add "MyComponentA" Component again
4. Add any component with "Add Component" Button
5. Observe the "MyComponentA" Component in the Inspector
Expected Behavior: The structure of "MyComponentA" is not changed
Actual Behavior: "MyComponentA" PropertyFields disappear
Reproducible with: 2019.1.0b2, 2019.1.4f1, 2019.2.0a4, 2019.2.0b3, 2019.3.0a3
Not reproducible with: 2019.1.0b1, 2019.2.0a3
Note: If you deselect the GameObject and select it again - the PropertyFields re-appear which means that it is only a visual issue. Could not test with 2018.4 and 2017.4 because there is no OnCreateInspector method.
Comments (93)
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
- [macOS] Secondary display rendering incorrect target and flickering when building for Multi-Display
- "Create Empty Child" Option Creates Root Object When No Parent Is Selected
- Freeze/Crash when entering Play Mode in a specific project
- Lack of documentation regarding VFX Ray Tracing support
- Shader properties do not appear on the GameObject when switching ShaderGraphs during runtime in the Player
unity_K99WJS2TxGpRtA
Mar 29, 2020 09:06
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.
free WordPress themes https://athemeart.com/blog/category/wordpress-themes-collections/
unity_K99WJS2TxGpRtA
Mar 28, 2020 10:23
very interesting post.this is my first time visit here.i found so many interesting stuff in your blog especially its discussion..thanks for the post!
the travelers within http://thetravelerswithin.com/
unity_K99WJS2TxGpRtA
Mar 25, 2020 15:24
I'm glad I found this web site, I couldn't find any knowledge on this matter prior to.Also operate a site and if you are ever interested in doing some visitor writing for me if possible feel free to let me know, i am always look for people to check out my web site.
go to my blog https://www.wepredict.com/