Reproduction steps:
  1. Rezz a box
  2. Put this script into it:
integer AlphaState = 1;
default
{
state_entry()
{
llSetLinkPrimitiveParamsFast(LINK_THIS, [PRIM_RENDER_MATERIAL, ALL_SIDES, "2d45cf07-04ac-64a1-daa7-83f4992f759b"]);
}
touch_end(integer num_detected)
{
list faceData = llGetLinkPrimitiveParams(0, [PRIM_GLTF_BASE_COLOR, 0]);
llOwnerSay("Colour Received: \"" + llList2String(faceData, 4) + "\"");
if (AlphaState == 1)
{
faceData = llListReplaceList(faceData, [0.0, PRIM_GLTF_ALPHA_MODE_BLEND], 5, 6);
AlphaState = 0;
}
else
{
faceData = llListReplaceList(faceData, [1.0], 5, 5);
AlphaState = 1;
}
llSetLinkPrimitiveParamsFast(0, [PRIM_GLTF_BASE_COLOR, ALL_SIDES] + faceData);
}
}
  1. The script will turn this box golden
  2. Touch the box once, observe received colour value being "" and the box vanishing
  3. Touch the box again, observe received value being "<1.000000, 1.000000, 1.000000>" and the box being silver
Expectation:
One of the following should happen:
  • Box should remain gold, and colour value remain ""
  • Colour value should always be <1.0, 0.89, 0.616> and not ""
Environment
SL Main grid sim with: Second Life Server 2024-01-19.7590161929