Search Unity

GUI.DrawTexture bug?

Discussion in 'Immediate Mode GUI (IMGUI)' started by Foxxis, Feb 4, 2008.

  1. Foxxis

    Foxxis

    Joined:
    Jun 27, 2006
    Posts:
    1,108
    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!
     

    Attached Files:

  2. Foxxis

    Foxxis

    Joined:
    Jun 27, 2006
    Posts:
    1,108
    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.
     
  3. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    Whats the case number?
     
  4. Foxxis

    Foxxis

    Joined:
    Jun 27, 2006
    Posts:
    1,108
    Hi Joachim,

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