Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Collection header injection causes broken Inspector in some cases #28

Open
TheXRMonk opened this issue Apr 13, 2021 · 5 comments
Open

Comments

@TheXRMonk
Copy link

Steps to reproduce:

  1. Create an empty GO
  2. Right-click it into a collection
  3. Ctrl+z
  4. ...
  5. cry... :(
@neon-age
Copy link
Owner

By 'breaking' you mean that Transform component is kept hidden?

@TheXRMonk
Copy link
Author

By 'breaking' you mean that Transform component is kept hidden?
Yes, this is what it looks like;
image

@neon-age
Copy link
Owner

Think I fixed all issues related to header injection. Transform is no longer hidden using hideFlags

@neon-age
Copy link
Owner

The fix is up in 0.3.1-pre.8

@neon-age
Copy link
Owner

There is another issue caused by Prefab inspector. They sometimes name headers differently there (CollectionEditor_Collection_blabla instead of inspector title), and other times EditorElement is duplicated, somehow.. So injection throws bunch of errors.

image

I'll look into it later.

@neon-age neon-age changed the title Undoing collection creation on empty GO breaks GO. Collection header injection causes broken Inspector in some cases Apr 15, 2021
@neon-age neon-age reopened this Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants