Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.7.6
1.8.0
Issue ID
UVSB-2508
Regression
No
Visual Scripting For Loop node loops infinitely when First > Last and Step > 0
Reproduction steps:
1. Open the “ForLoopStripped“ project
2. Open the “Sample” scene
3. Enter Play Mode
Expected result: “For Loop Exit” is logged in Console
Actual result: Editor freezes due to an infinite for loop
Reproduced in: 1.7.6 (2021.3.0f1), 1.9.0 (2022.3.7f1, 2023.1.9f1, 2023.2.0b4)
Reproduced on: macOS 13.4.1 (Intel), macOS 13.0 (M1)
Not reproduced on: No other environment tested
Notes:
1. Also reproduced in Player
2. If {{First > Last}} and {{Step > 0}} then the For Loop node will loop forever because its script has {{isAscending = first < last}}, instead of {{isAscending = step > 0}}
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note:
Thank you for bringing this issue to our attention. Unfortunately, after careful consideration we will not be addressing your issue at this time, as we are currently committed to resolving other higher-priority issues.
With the delivery of our latest release, we are now focusing on investigations and discovery to better determine how UVS needs to evolve to deliver on our broader goals, as well as being the right solution for future production needs. However, we know each case is different, so do please continue to log any issues you find, as well as provide general feedback here to help us prioritize
https://unity.com/roadmap/unity-platform/gameplay