Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NaightyAttributes import affects to UI view even without using any attribute #353

Open
novavision opened this issue Mar 12, 2023 · 0 comments

Comments

@novavision
Copy link

novavision commented Mar 12, 2023

Well, while title may looks harmles, it is not in a fact. For a long time I tried to define what was the reason of bug when the list element selected text field was copying to next element on stoll down/up.
Please check the video I attached to get the idea, what's exactly wrong.

I though it's a Unity bug but I never could reproduce it in the clean Unity project. Finally I realized that happes just after NaightyAttributes import even without any attribute use.

To repoduce it (in any Unity version):

  1. open the project attached
  2. select the scriptable object in Assets
  3. expand all element and make sure you can scroll the content
  4. scroll down while the text field is selected

To ensure it's NaugthtyAttributes issue, just remove the asset. Btw you may notice that list of elements will look different - using NaughtyAttributes it's expanded to entire height depending on elements count & size, while by default Unity renders it in a half if window height.

scriptable.object.issue.mp4

project

@novavision novavision changed the title [TextArea] attribute cause the text being copied to another element in the list while scrolling NaightyAttributes import affects to UI view even without using any attribute Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant