Game Freezes When Modifying an Array Member of a Parametric Class

Summary

When modifying an array member of a parametric class, the game freezes.

# Class to reference arrays. 
# Can be used with large arrays to avoid copy semantics and as function out-parameters.
array_ref(value_type: type) := class<allocates>:

    var Values<public> : []value_type = array{}


ArrayRef := array_ref(int){}
set ArrefRef.Values = array. 1 # Works fine after removing this line.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

Run the code above.

Expected Result

The game should not freeze.

Observed Result

The game freezes.

Platform(s)

PC

Bringing this to the team.

1 Like

The status of FORT-1116226 changed to ‘Needs Triage’. We are routing this to the appropriate team for investigation.