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

UI Toolkit

-

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)

  1. unity_K99WJS2TxGpRtA

    Aug 04, 2020 17:43

    I am hoping the same best effort from you in the future as well. In fact your creative writing skills has inspired me.
    https://www.newhanfu.com https://www.newhanfu.com/

  2. unity_K99WJS2TxGpRtA

    Aug 04, 2020 11:21

    hello!! Very interesting discussion glad that I came across such informative post. Keep up the good work friend. Glad to be part of your net community.tarot card readings https://tarotsociety.us/

  3. unity_K99WJS2TxGpRtA

    Aug 01, 2020 06:45

    This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information...
    roof repairs https://roofrepairscentralcoast.com/

  4. unity_K99WJS2TxGpRtA

    Jul 20, 2020 12:01

    Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging,
    citizenship for sale https://documentsupport24hrs.com/

  5. kousarseo

    Jul 20, 2020 09:49

    I am jovial you take pride in what you write. It makes you stand way out from many other writers that can not push high-quality content like you.
    https://open.spotify.com/album/2eVLX5xIHa6Srgr5OPSQWn

  6. kousarseo

    Jul 18, 2020 15:07

    i love reading this article so beautiful!!great job! https://dreamworxbotanicals.com/

  7. desiagnes01

    Jul 16, 2020 10:23

    please support my website

    <a href="http://www.musimqqq.top" ="_blank">musimqq</a><br />
    <a href="http://www.larisqqonline.top" ="_blank">larisqq</a><br />
    <a href="http://www.rajaqqonline.top" ="_blank">rajaqq</a><br />
    <a href="http://www.balak99.top" ="_blank">balakqq</a><br />
    <a href="http://www.poker88wd.pw" ="_blank">Poker88wd</a><br />
    <a href="http://www.nagaqiu.pw" ="_blank">NagaQQ</a><br />
    <a href="http://www.warisqiu.pw" ="_blank">WarisQQ</a><br />
    <a href="http://www.pianoqq.top" ="_blank">PianoQQ</a><br />
    <a href="http://www.datukqiu.pw" ="_blank">DatukQQ</a><br />
    <a href="http://www.rahasiaqiu.club" ="_blank">RahasiaQQ</a><br />

  8. unity_K99WJS2TxGpRtA

    Jul 15, 2020 13:19

    Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging,
    travelers within https://thetravelerswithin.com/

  9. ayankhatri126

    Jul 10, 2020 14:28

    Your content is nothing short of bright in many forms. I think this is friendly and eye-opening material. I have gotten so many ideas from your blog. Thank you so much.
    https://ro.woxmarketing.com/contact/

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.