SetPresentableToPlayers does not accept `false`

Summary

Attempting to use (Entity:entity).SetPresentableToPlayers(false) results in a compile error.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

  1. use (Entity:entity).SetPresentableToPlayers(false) in a script

Expected Result

Compile success

Observed Result

Compile fail

Script error 3509: This function parameter expects a value of type tuple(entity,?[]player), but this argument is an incompatible value of type tuple(entity,logic).

Platform(s)

Windows

Additional Notes

Workaround:
Create a FalseArray : ?[]player = false constant and pass it instead of false

Bump

Thanks very much for the report. This was a known Verse compiler issue but we’ve escalated the priority on fixing it.

That should have been marked as a dupe of ticket #SOL-7386. The issue is still being looked at. Sorry for the confusion!

FORT-1006711 has been ‘Closed’ as a duplicate of an existing known issue.