|
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.
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:
(comments are locked)
|
|
As Lucas stated, if you post the case number here, we (Unity employees) can have a look at the bug report. But that aside if you have some deadline, and need to work around the crash, and cannot wait for a fix, what I would do is to first look at the webplayer log file for anything suspicious. If there's any error messages or exceptions logged, that may give you a clue on where to start looking. If that doesn't show anything relevant, I'd start binary searching the project for what is causing it: Make a copy of the project folder, and start removing stuff from that. Does it happen for any scene? If it is, start removing game objects from the scenes. If you found something which causes the crash, re-add it, and check all child game objects and components. It may be hard work, but you'll probably be able to find out which script is causing the issue. Then, remove code from that script, until you find the responsible line(s). Now, you should be able to find some workaround. When you got here, it would also be really nice to add your findings to the bug report to make fixing the issue easier for us.
(comments are locked)
|
|
Im playing Dead Frontier and when i load the game it always ALWAYS! say The Unity Web Player has crash send crash report (i click send) then it says crash report sent reload page and i reload the page and it continues to do this how can i fix it i want to play the game!
(comments are locked)
|

Whatever you recently added to the game, try removing it. This will help you track down methodically the cause of the memory exception. That is of course assuming it is not actually a real bug in the player but rather as you suggested a scripting problem.
Could you post the casenumber of the bug here?
Sounds kinda like a memory leak or something.
That crash dump isn't really too much help. Have you tested with different browsers? Firefox has an overly ambitious null reference handler that keeps mono from actually creating a NullReferenceException, so sometimes it's useful to test in IE or Safari and compare the player logs.
Can you attach your webplayer log and link to the case in unity's bugtracker?