Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

[Managed Plugin] Window handles are always zero

Discussion in 'Extensions & OnGUI' started by ellion, Jan 25, 2019.

  1. ellion


    Jun 22, 2016

    I'm currently developing a managed plugin and stumbled across a weird problem. Whether I use Process.GetProcesses() or a user32 dll import of FindWindow: All handles are zero. While compiling this as standalone everything works like a charm. I figured it might be due to insufficient permissions of some sorts, but running Unity as administrator doesn't change a thing.

    Anyone got a quick idea in what direction to look?

    Thanks in advance,