Including this code will cause a crash in my project every time it tries to build Verse code:
(This:creative_device).WaitForPlayerActiveState( Player : player, Active:logic, ?PollRate :float = 0.2 )<suspends>:void=
loop:
if:
FortChar := Player.GetFortCharacter[]
not logic{FortChar.IsActive[]} = Active
then:
Sleep(PollRate)
else:
break
If I hardcode PollRate instead of it being an optional, this function builds fine. It seems to be specifically an issue with the ?PollRate :float = 0.2
portion of this code block.