SU4 Visibility using DynamicParameters results in flickering

Version: EVERY SU4 versions

Frequency: Consistently

Severity: High

Context: In flight/Hangar loaded from project editor

Bug description:

When using a “DynamicParameters” as visibility code or even through a temporary LVar, the object flickers. When using anything but the dynamic parameter, there is no flickering.

Repro steps:

Spawn an attachement with a dynamic parameter used in your attached object xml file. Use it as the visibility input code. The object should flicker.
Used code which was working on SU3:

       <DynamicParameters>
    		<TYPE>0</TYPE>
		</DynamicParameters>
	
		<Component ID="MICA">
			<!-- Visibilities -->
			<Component ID="MICA_Head_IR" Node="MICA_Head_IR">
				<UseTemplate Name="ASOBO_Visibility_Template">
                    <VISIBILITY_CODE>[TYPE]</VISIBILITY_CODE>
            	</UseTemplate>
			</Component>
			<Component ID="MICA_Head_RF" Node="MICA_Head_RF">
				<UseTemplate Name="ASOBO_Visibility_Template">
                    <VISIBILITY_CODE>[TYPE] !</VISIBILITY_CODE>
            	</UseTemplate>
			</Component>
		</Component>

Attachments:

The behaviors tool shows that the visibility template actually works as expected :
In this case TYPE = 1

Here Type = 0

Thank you

1 Like

We are experiencing a similar issue, except I don’t believe we used the dynamic parameters. Reported and bug logged at Child nodes with visibility code in an attachment flicker when hiding the attach_to_node

Hello,

Indeed, it seems to be the same issue than Dave is sharing above.

I added a link to this topic in the bug report we have in our backlog.
I will let you know when I have more news to share.

Regards,
Boris

1 Like