GUI.DrawTexture bug?

Since GUI.Box captures mouse focus in 2.0.2 (it didn’t in earlier versions), I’ve had to use GUI.Drawtexture for custom cursors. However, there seems to be a bug with GUI.Drawtexture. I use it over water, and a bunch of transparent objects, and the alpha-sorting is buggy. The drawn cursor will disappear behind the scene. Sometimes it disappears behind “blocks”, somtimes behind what looks like garbled data.

Has anyone seen this? Ways to work around it?
TIA!

63522--2329--$picture_2_779.png
63522--2330--$picture_1_198.png

So, I’m the only one having problems with custom cursors after 2.02? I have…

  • reproduced the disappearing cursor (which is using GUI.DrawTexture) in a separate project and in builds on both various macs (and PCs)
  • sent a detailed bug report
  • tried to work around the problem to no avail (all other GUI methods capture clicks regardless of what I do).

This is a serious problem for me as custom cursors are central to the usability of my title. At a loss regarding what to do next.

Whats the case number?

Hi Joachim,

It’s 18287. Would be very thankful for any help!
Cheers!