Unity Issue Tracker - ArgumentOutOfRangeException: Value needs to be positive for virtualization is thrown when adjusting Fixed Item Height into the negatives
Fixed
UUM-11324
ArgumentOutOfRangeException: Value needs to be positive for virtualization is thrown when adjusting Fixed Item Height into the negatives
Unity: UI Builder
Fixed
2023.2.X
2023.1.X
2022.2.X
2021.3.X
Won't Fix
2022.1.X
UI Builder: Exception is no longer thrown when the user tries to enter a negative value for the Fixed Item Height attribute of a ListView, TreeView, etc.
UI Builder: Exception is no longer thrown when the user tries to enter a negative value for the Fixed Item Height attribute of a ListView, TreeView, etc.
UI Builder: Exception is no longer thrown when the user tries to enter a negative value for the Fixed Item Height attribute of a ListView, TreeView, etc.
Port canceled as we transition to 2022.2 (2022.2.X port is active or already resolved)
UI Builder: Exception is no longer thrown when the user tries to enter a negative value for the Fixed Item Height attribute of a ListView, TreeView, etc.
How to reproduce:
1. Open up any project
2. Create a UI Document with a source and open up UI Builder
3. Create a "TreeView" element
4. Adjust "Fixed Item Height" of the element in the Attributes tab into the negatives
Actual result: "ArgumentOutOfRangeException: Value needs to be positive for virtualization" error is thrown in Console
Expected result: Field shouldn't be able to be set as something that throws an error, field should automatically be set to 0 if that is the case
Reproducible with: 2021.3.8f1, 2022.1.13f1, 2022.2.0b3, 2023.1.0a5
Couldn't test with: 2020.3.37f1 (No UI Builder by default)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?