Hiya,
We've got a reproducible player crash whenever someone exits the Unity3d window (embedded in a browser) on an application we are developing.
Unfortunately, "reproducible" seems to be "reproducible everywhere but at Unity's offices" [we've confirmed it on all 40 PCs in our office, and 15+ elsewhere - with a wide mix of hardware.] and we're gauging it unlikely that the issue will be resolved by our launch date; so we need to tackle it ourselves.
With that out of the way in advance - does anyone here have any experience or has any tips for diagnosing what might be causing the Unity web player to crash? We're fairly certain it is scripting related (e.g; the following is a debug crash from Unity) - but we're unable to find exactly what.
Unity Web Player [version: Unity 2.6.1f3_31223]
mono-1-vc.dll caused an Access Violation (0xc0000005)
in module mono-1-vc.dll at 001b:0e81c28e.
Error occurred at 2010-03-03_193826.
C:\Program Files\Mozilla Firefox\firefox.exe, run by Adam.
60% memory in use.
2048 MB physical memory [1189 MB free].
0 MB paging file [3940 MB free].
2048 MB user address space [1767 MB free].
Read from location 05190d50 caused an access violation.
Context:
EDI: 0x0e94b244 ESI: 0x05190d20 EAX: 0x00000000
EBX: 0x76fb7dc0 ECX: 0x000009d0 EDX: 0x76fc9a94
EIP: 0x0e81c28e EBP: 0x0f47f83c SegCs: 0x0000001b
EFlags: 0x00010246 ESP: 0x0f47f810 SegSs: 0x00000023
Bytes at CS:EIP:
?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
... *snip* ...
The one bit of advice we did get from Unity was that some resources (possibly network) may not be being released before exit; and we should add the release functions into another specific method - which we tried without success; so any suggestions or tips on what we should try would be very much appreciated!
Thanks!
EDIT: This might be related to these issues: