Feed RSS RSS feed
[FIXED] Minimap:SetBlipTexture API crash
This crash bug has been fixed in build 10468.

When using the Minimap:SetBlipTexture() API, the client will crash if an empty string ("") is passed as the sole argument. I've sent in two crash dumps after replicating the problem.
    File: .\Texture.cpp
    Line: 3331

    fileName[0]


When I use (nil) as the argument, I get a syntax error message, but the blips do not change, as expected.
    <string>:"Minimap:SetBlipTexture(nil)":1: Usage: Minimap:SetBlipTexture("file")


If I provide a non-existent texture file path as an arguement ("PathToNonExistentTexture"), the minimap blips all turn into bright green squares and I get the error message:
    Minimap:SetBlipTexture(): Couldn't load the file


Edit: This error occurs in build 10357.

Edit again to confirm that this crash does not happen on live servers when an empty string is passed as the argument.

I hope this means you are working on extending this API to the PartyRaidBlips texture as well. :)

[ Post edited by Nandini ]

Avatar of Nandini
Nandini
Re: [BUG] Minimap:SetBlipTexture() API crash

Q u o t e:
This same game-crashing bug still exists in build 10371.


Thanks for the report, we're taking a look at this issue.

Dresorull
Blizzard QA
Avatar of Dresorull
Dresorull