RPN <Update Once="True"> updates once a second

Version: 1.7.7.0

Frequency: Consistently

Severity: Blocker

Marketplace package name: if applicable

Context: FBW A380X (still MSFS2020 package for now, the 2024 package which is in development seems to work fine)

Bug description:

Hi, it seems like with the latest update to the SU5 Beta, events triggered with K:2:ELECTRICAL_BUS_TO_CIRCUIT_CONNECTION_TOGGLE do not seem to persist anymore. We experience this in our plane as we are unable to turn on the circuits for different components. In the eletrical debug window it can be seen that the circuit becomes powered for a fraction of a second, but then immediately switches back off.

The cause seems to be that <Update Once="True"> in one our our templates is used to initialize the state of some circuits. However, the update now seems to run once a second, therefore overriding any input given. This can also be seen with the guard switches (see video at the end), which use “ASOBO_GT_Switch_Dummy” that also contains the <Update Once="True"> for the initial state.

The behvaiour debug shows a rate of 1Hz though

This is the code we use for initialization which now runs once per second, effectively disabling the circuits as soon as they turn on

  <Update Once="True">
            (L:A32NX_START_STATE, Bool) 2 == #CIRCUIT_CONNECTED_TO_BUS# 1 == and if{
                #CIRCUIT_ID# 1 (&gt;K:2:ELECTRICAL_BUS_TO_CIRCUIT_CONNECTION_TOGGLE)
            }
        </Update>

Repro steps:

Load the plane, enable ground power and try to enable fuel pumps. The switches snap back as the circuit turns off again immediately. Can also be reproduced by sending the RPN externally.

2 1 (> K:2:ELECTRICAL_BUS_TO_CIRCUIT_CONNECTION_TOGGLE)

Attachments:

Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content

Hello @saschl

We have identified a regression that can cause some attributes like Once or Wrap (and likely some others) to not be correctly read on MSFS 2020 packages.
A fix is being worked on.

Regards,
Sylvain

2 Likes

Thanks a lot!

1 Like

Hi all,

Just to confirm, this issue is also causing significant issues for our Black Square aircraft, generating a lot of user feedback from those with the beta.

Looking forward to the fix.

Thanks,
Martyn - Just Flight

Can confirm from our side that the fixes are working. Thanks!

1 Like

Hello @saschl @MartynJF

This should be fixed in SU5 Beta 1.7.9.0.
Let us know if this is all good for you.

Regards,
Sylvain

2 Likes