First you have to overrride and then apply color. I used this code in my python script and it works everytime:
def set_object_color_override(object_path):
"""
Active ou désactive l'override de couleur pour un objet spécifié par son chemin.
"""
args = {
"object": object_path,
"property": "OverrideColor",
"value": True
}
client.call("ak.wwise.core.object.setProperty", args)
def set_object_color(object_path, color_index):
"""
Définit la couleur d'un objet spécifié par son chemin.
"""
args = {
"object": object_path,
"property": "Color",
"value": 4 #Red color - Wwise colors from 1 to 26
}
client.call("ak.wwise.core.object.setProperty", args)