Realm name is not always displayed when selecting this option
Nightwarden24 opened this issue ยท 0 comments
Describe the bug
It's about formats %unit and the Realm Name option. Server name is not always displayed if the appropriate setting is selected and target or focus is used as unit. This is true for any unit on the same realm as the player.
Do you have an error log of what happened?
There are no error messages.
To Reproduce
Steps to reproduce the behavior:
- You need log out of world and log back.
- Follow the same steps as shown in a gif
- Reload UI (/reload) and bug is gone. Everything works as it should. ๐ ๐
Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Addons are disabled during testing.
Which version of WeakAuras are you using?
2.17.12-14-gdd200482
Are you on World of Warcraft Classic or Retail?
- Retail
Was it working in a previous version? If yes, which was the last good one?
I have no idea
Additional Info
When the player enters world, for some reason the UnitFullName function returns a nil value of the player's realm. And WA stores it in this variable.
Perhaps there is some other explanation. Anyway, I would move that code line into the WeakAuras.UnitNameWithRealm function itself.