Core/Script:
ICC: Convert possible non valid pointer to guid

Close #9954