#Is there a way to use the `PlayerLoop`

1 messages · Page 1 of 1 (latest)

ember geyser
#

Note: I am aware of Application.onBeforeRender, but I want to run after it.

neat solstice
#

Have you tried all of them or just guessing by their name?

ember geyser
#

@neat solstice Tried all of what?

#

One other point of context: I am not working in a MonoBehaviour; ECS ComponentSystemGroup in this case, but the issue is not specific to ECS.

neat solstice
#

The subsystems in GetCurrentPlayerLoop that are around the area you want to insert your hook.

#

@ember geyser I'm pretty sure there is a XR subsystem that happens around before render, but maybe only if you have XR packages installed.

ember geyser
#

@neat solstice There are no subsystems returned from GetCurrentPlayerLoop that are around the area I want to insert into; that is my issue. GetCurrentPlayerLoop is only returning subsystems up until the point frame rate matching (red arrow in screenshot) would occur before rendering.

neat solstice
ember geyser
#

When I couldn't find the necessary subsystem in the GetCurrentPlayerLoop return I dumped all of them and found that the before render, render, and post render subsystems are not there.

neat solstice