basic_interactable_component shows interact prompt even if CanInteract fails.

Summary

When CanInteract fails on a basic_interactable_component, the interact prompt still shows even though the player cannot interact. This started happening in 40.20.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

Setup and spawn a prefab with a component inheriting from basic_interactable_component and override CanInteract to fail under certain conditions.

Expected Result

The interact prompt disappears when the certain conditions are fulfilled and CanInteract fails for that agent.

Observed Result

The interact prompt does not disappear.

Platform(s)

PC

Island Code

7259-7942-8823