Hello,
I’ve encountered a very annoying bug: sometimes, when my game is running, everything freezes, forcing me to either quit the application or reboot the computer.
It happens during a random scene of the game, after 10 seconds of running or after four hours !
What I’ve done:
I’ve removed all “while” loop in my scripts (to prevent infinite loops).
I’ve added some Debug.Log messages in my scripts, and I’ve checked all the Unity logs, but it gave me no cue to where the bug is.
I’ve tested with Unity 2.6.1 and Unity 3 beta3, under MacOSX 10.6.4 (up to date), building both the universal and the intel versions.
I’ve tested on another MacPro with the same configuration.
I’ve also launch my game in a window, and when it freezes, there is a black band going very fast from the top of the screen to the bottom. What is strange is that this band covers the whole screen, and not only the window where my game just freezed.
So my questions are:
- Does anybody encounter such a bug ?
- Do you think it could be a NVidia driver bug ? My game is very 3D and physX intensive (I’ve got a GTX 285 with the latest driver installed).
- How can I further debug my game ? What kind of bugs can generate such freezes ?
Any help would be very appreciated, since the game has to be demonstrated during a congress…
Thank you very much,
Quentin
–
MacPro 2x2.8GHz Quad Core
Unity Pro 2.6.1 and 3b3
MacOSX 10.6.4
NVidia GTX 285