SceneGraph TickEvents are not accesible to subscribe

Summary

Compiler throws “Invalid access of internal function (/Verse.org/SceneGraph/execution_listenable:)Subscribe” when trying to subscribe to TickEvents.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

  • Create any blank project with scene graph beta.
  • Declare a new class that inherits from component.
  • At OnBeginSimulation try to subscribe to TickEvents.PrePhysics or TickEvents.PostPhysics

Expected Result

Compiler to succeed the build of code.
Be able to subscribe to this events.

Observed Result

Compiler fails throwing:
“Invalid access of internal function (/Verse.org/SceneGraph/execution_listenable:)Subscribe

Platform(s)

PC, UEFN

Upload an image



tick_events_component.png

Additional Notes

In the first image you can see the declaration of the component and trying to subscribe at OnBeginSimulation with the compiler error.
The others images show the declaration of those members at the Verse.digest

You can ignore that error, is just a visual bug with the LSP.
It should compile and work fine

1 Like

You are right, it appears to be visual only.
Yesterday in my mind it didn’t compile, but it does, still throwing the error. Maybe I was to focused on it and did not see it was compiling.
Thanks.