x


Web Player crashes in Pause Menu

hello,

i'm using a stripped down version of this pause menu: pause menu

now whenever the user goes into the pause menu and changes to another application or browser-tab the webplayer first freezes and then crashes.

anyone know what could cause this? i already disabled everything non-essential, but that didn't seem to help. the crash happens on windows and mac, tried in firefox, chrome and safari. i also tried disabling the "run in background" option, but that didn't change anything either.

the game itself doesn't crash when left alone, just so you know ;)

would be grateful for hints or advice, thanks.

edit: here is the webplayer log.

edit2: some more information! the game starts with the pause menu active, but it doesn't crash if left there. only when entering once and then pausing the game causes it to crash when you leave it for five minutes. so it must be something that happens after the game starts... first thing that came to mind were the 20 rigidbodies i'm spawning, but i disabled them and it still crashes. i also disabled water(daylight), animated textures and particles.

anything else that could cause a crash when the webplayer runs in background?

more ▼

asked Nov 28 '11 at 03:41 PM

LeeGibson gravatar image

LeeGibson
51 8 9 10

Maybe post the player.log so we know what Unity says has happened.

Nov 28 '11 at 04:17 PM Graham Dunnett ♦♦

that's a brilliant idea. i'll be back when i found it.

Nov 28 '11 at 04:34 PM LeeGibson
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

after disabling everything in the scene and gradually re-enabling it i have found the culprit: movie textures!

solution: pause texture via movietexture.Pause() when activating the pause menu.

more ▼

answered Nov 29 '11 at 02:18 PM

LeeGibson gravatar image

LeeGibson
51 8 9 10

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x815
x592
x262
x177

asked: Nov 28 '11 at 03:41 PM

Seen: 839 times

Last Updated: Nov 29 '11 at 02:18 PM