EventTiming.PostLateUpdate silently ignored in SendCustomEventDelayedSeconds / SendCustomEventDelayedFrames, if nothing overrides PostLateUpdate()
available in future release
Pepinо Marinо
I have been testing EventTiming.PostLateUpdate in SendCustomEventDelayedSeconds and SendCustomEventDelayedFrames, and it is never called. The logs only show those that are using FixedUpdate. (3.10.2)
void Start()
{
SendCustomEventDelayedSeconds(nameof(TestPostLateUpdateS), 1, EventTiming.PostLateUpdate);
Debug.Log("SendCustomEventDelayedSeconds called");
SendCustomEventDelayedSeconds(nameof(TestFixedUpdateS), 1, EventTiming.FixedUpdate);
Debug.Log("SendCustomEventDelayedSeconds called");
SendCustomEventDelayedFrames(nameof(TestPostLateUpdateF), 1, EventTiming.PostLateUpdate);
Debug.Log("SendCustomEventDelayedFrames called");
SendCustomEventDelayedFrames(nameof(TestFixedUpdateF), 1, EventTiming.FixedUpdate);
Debug.Log("SendCustomEventDelayedFrames called");
}
public void TestPostLateUpdateS()
{
SendCustomEventDelayedSeconds(nameof(TestPostLateUpdateS), 1, EventTiming.PostLateUpdate);
Debug.Log("test called in postlateupdate");
}
public void TestFixedUpdateS()
{
SendCustomEventDelayedSeconds(nameof(TestFixedUpdateS), 1, EventTiming.FixedUpdate);
Debug.Log("test called in fixedupdate");
}
public void TestPostLateUpdateF()
{
SendCustomEventDelayedFrames(nameof(TestPostLateUpdateF), 1, EventTiming.PostLateUpdate);
Debug.Log("test called in postlateupdate frames");
}
public void TestFixedUpdateF()
{
SendCustomEventDelayedFrames(nameof(TestFixedUpdateF), 1, EventTiming.FixedUpdate);
Debug.Log("test called in fixedupdate frames");
}
Log In
This post was marked as
available in future release
Dexvoid
marked this post as
tracked
Thank you for your report.
This issue only triggers if there are no Udon behaviours anywhere in the world that override
PostLateUpdate()
. Overriding that in any script at least once is a temporary workaround. I've updated the title of your report to reflect this.Uzer Tekton
I can confirm everything else equal
EventTiming.PostLateUpdate
doesn't work but EventTiming.FixedUpdate
does.In both
SendCustomEventDelayedFrames
and SendCustomEventDelayedSeconds
.In both editor and runtime.
Come on, this is some shocking level of quality control, there may be some serious problem with dev team internal processes that allows this kind of slippage to go live