Author Topic: Unhandled error: Log String: can't find window with ID ..  (Read 1448 times)

Offline ZarahNeander

  • Newbie Mark III
  • *
  • Posts: 25
Unhandled error: Log String: can't find window with ID ..
« on: October 14, 2010, 11:09:52 am »
Version 3.712..both expansions installed...vista x64...dx10

More sooner than later the program locks (black screen) && I find the following in UnhandledErrors.txt:

10/14/2010 4:45:37 PM (3.712)
-----------------------------------Error-----------------------------------Log String: can't find window with ID 6
Stack Trace: UnityEngine.GUI:BringWindowToFront(Int32)
AbstractArcenWindow:BringToFront()
ArcenGUIManager:DrawGUI()
MainCameraLogic:OnGUI()

Tried (nearly) everything (except reinstalling vista)...reinstalling aiwars in a clean directory...running in an window..not running in a window..changing resolution/bit depth..no luck

dxdiag doesn't complain..not that this means much.

It usually happens when I use a context menu.

Thanks in advance.


Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Unhandled error: Log String: can't find window with ID ..
« Reply #1 on: October 14, 2010, 11:14:55 am »
Ah, drat, we were hoping that only happened in the Unity Editor; it appears it happens in the standalone too.

Yea, basically if you have a context menu open, and then AIWar loses focus (alt+tab, ctrl+alt+delete, etc), and then you switch back, it will die in this way.  We've been working on making that not happen, but it's tricky.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline ZarahNeander

  • Newbie Mark III
  • *
  • Posts: 25
Re: Unhandled error: Log String: can't find window with ID ..
« Reply #2 on: October 14, 2010, 12:12:48 pm »
Thanks for the quick response..

Though I don't task-switch..

Anyways..I just refrain from using context menus (sniff) && hope it's indeed related to context menus..

Thanks again.