Using awaitable::Await causes invalid errors

Summary

When using awaitable::Await() the Verse LSP will incorrectly flag it as an error.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

  • Use awaitable::Await()
  • e.g. Interactable.SucceededEvent.Await()

Expected Result

The Verse LSP doesn’t flag it.

Observed Result

The Verse LSP flag an error.

Invalid access of internal function (/Verse.org/Verse/event:)Await from control scope

Unknown member Await in listenable(agent).

All the top level expressions in a 'race' macro must be async (such as a coroutine call) and not immediate.

Platform(s)

Version: 6.0.0-59596594 Branch: //Fortnite/Release-43.00

Island Code

N/A

Implicit super type conversions involving awaitables are also causing invalid errors:

Event: event() = event(){}

Awaitable()<computes> : awaitable() =
    Event # This function returns a value of type awaitable(true), but the function body's result is an incompatible value of type event(tuple()).  (3510)

Same, it’s pretty bad over here​:sob:
image

Hi all!

We have added this to our known issues, we’re investigating right now

Is there any update on this as I’m still getting this same error as well as this error:

image

*Update: The error in the image is because it doesn’t do the .Await properly so it’s linked.

Update from our end, the team is has identified the root cause and is investigating the best approach to resolve the issue.

We’ll provide more updates as we get them

Thank you Guys. Have the same issue in our code. While the code compiles and saves.
Looking forward to resolution.

There is this workaround that Jessica shared on X.

It needs to be done every time the file gets generated, but it works.

Heya folks, we have a temporary solution posted here: v43.00 Known Issues and Pre-Release Updates - #11 by Flak

on behalf of @Jpt_96 Cross reference.

Possibly these are related to the error in this thread still open - now on backlog

task(t:type).Await() crashing in some cases. - General / Issues and Bug Reporting - Epic Developer Community Forums

v43.00 Known Issues and Pre-Release Updates - General / Issues and Bug Reporting - Epic Developer Community Forums

Thanks,

FORT-1185403 is ‘Closed’ as ‘Fixed’. The issue will be addressed in 43.10.