Infinite loop caused by typed for-loop variable when looping through PackedDataContainer
#89290
Labels
Milestone
PackedDataContainer
#89290
Tested versions
ffc41fb - reproducible
4.2.1 - reproducible
System information
Godot v4.3.dev (55ebf09ea) - Arch Linux #1 SMP PREEMPT_DYNAMIC Sun, 03 Mar 2024 00:30:36 +0000 - Tty - GLES3 (Compatibility) - AMD Radeon RX 6900 XT (radeonsi, navi21, LLVM 17.0.6, DRM 3.57, 6.7.8-arch1-1) () - AMD Ryzen 9 5950X 16-Core Processor (32 Threads)
Issue description
When looping through a
PackedDataContainer
whose members should only be of typePackedDataContainerRef
, specifying the latter as the type of a for-loop variable will cause an infinite loop when looping through the elements.Steps to reproduce
Run the MRP.
The infinite loop is caused by
ref : PackedDataContainerRef
. Replacing that with justref
fixes the issue.Minimal reproduction project (MRP)
TypedPDCRBug.zip
The text was updated successfully, but these errors were encountered: