Search Issue Tracker
Fixed in 5.0.0
Votes
0
Found in [Package]
4.4.0
Issue ID
1322032
Regression
Yes
[ProBuilder] ArgumentOutOfRange Exception is thrown when selecting "Gen Shadow Obj" tool from ProBuilder window
How to reproduce:
1. Open the user's attached "ProBuilderIssue" project
2. Open the Scene "SampleScene"
3. In the Hierarchy select the "Arch" GameObject
4. Open the ProBuilder window (Tools->ProBuilder->ProBuilder window)
5. In the ProBuilder window select "Gen Shadow Obj"
Expected results: No errors are thrown
Actual results: The "ArgumentOutOfRangeException: Array length must match vertex count." error is thrown
Reproducible with: 4.4.0, 5.0.0-pre.10 (2019.4.22f1, 2020.3.1f1, 2021.1.0f1, 2021.2.0a9)
Not reproducible with: 4.3.1 (2018.4.33f1, 2019.4.22f1)
Notes:
- Only occurs on ProBuilder GameObjects created before importing the "Editor example" package
Notes (resolution notes):
- Problem is not specific to the use of Gen Shadow Object and not specific to the import of Editor Example package but is related to domain reload (caused by the package import)
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
- Crash on UndoManager::Undo when undoing SpriteAtlas Compression value changes
- [Happy Harvest] #ThunderLabel text is "\u26C8" instead of "⛈"
- Warning “New Sprite Atlas: There is a mismatch in secondary textures of sprites compared to WhiteUnit, wasting texture space and potentially break draw call batching. Affected Sprites are (Flag)“ is thrown when packing Atlas with Sprite Atlas V2
- Sprite Editor dropdown text is cut-off for options with longer text
- Sprite Editor can't be scrolled horizontally using the trackpad gesture
Resolution Note (fix version 5.0.0):
https://github.com/Unity-Technologies/com.unity.probuilder/pull/378