local unit = "player"
local exists = UnitExists(unit)
if exists then
SetPortraitToTexture(aura_env.region.texture)
SetPortraitTexture(aura_env.region.texture, unit)
return true
end
end
Is causing LUA errors and not showing the portrait. What would be the updated custom trigger for it?