Pass cache variable from scheduled endpoint in UDv3

Hi guys

I cannot for the life of me figure out how to pass (or set) cache variable inside scheduled enpoints, for later consumation in a Page.
Dashboard is configured as PowerShell 5.1 with Dashboard Framework 3.1.0, hosting in IIS.
If i call Get-Date directly in the Page, it works. If i try to pass it trough a Cache variable it doesnt…
This is my (non working) code:

$DebugPreference = 'Continue'

$Schedule = New-UDEndpointSchedule -Every 10 -Second

$Endpoint = New-UDEndpoint -Schedule $Schedule -Endpoint {
$Cache:Test = Get-Date
}

$Pages = New-UDPage -Name "Home" -DefaultHomePage -Id 'PageHome' -Content {
New-UDDynamic -Content {
    New-UDTypography -Text ($Cache:Test)
} -AutoRefresh -AutoRefreshInterval 1
}

New-UDDashboard -Pages $Pages -Title 'Dashboard'

What i see in the logs (maybe hints at what im doing wrong?):

[09-24-20 10:40:46 AM] [DBG] Creating endpoint: 0fcb04f7-5f92-492a-bbd6-d4eb2d61d07a 
[09-24-20 10:40:46 AM] [DBG] Found variable: Cache:Test 
[09-24-20 10:40:46 AM] [DBG] Not setting variable Cache:Test. -   

Thanks for any help

This is a bug in the nightly. Looking into it.

EDIT: This has been fixed and will be in tonight’s nightly build.