Howdy. We’re developing a game using the web plugin, and it works great unless the user reloads the current web page, at which point the frame goes white and shows a message:
“The content was stopped because a fatal content error has been detected”
(I was able to reproduce this on Safari 5.1.2 under OSX 10.7.2; not sure what the client was running. The game was published under 3.4.2f2, and the web plugin is 3.4.2f3. When we try the game in Chrome, this effect does not occur.)
If we close the tab and re-open the web page, it works fine again (until we reload the page). EDIT: It looks like you may have to quit and restart the browser, actually. We cannot reproduce the effect with just closing tabs any more.
We see a brief flash of the main menu appear just before the frame goes white and displays the message, but the loading bar looks like it only gets about halfway through before it goes to this mode, as if it is reloading half the content, thinking it can start running, and then crashes. (I should note that the file is not set for streaming.)
Any ideas what might be causing this? I did a little searching and saw that others were having a similar problem, but I didn’t see any of them saying that it happened on page refresh…
Some more detail. When the browser is showing that message, it is repeatedly spamming the console with the same line:
120117 11:16:38 Setting error display: 'The content was stopped because a fatal
content error has been detected.', details: 'The content was stopped because a fatal
content error has been detected.', link: 0
120117 11:16:38 Setting error display: 'The content was stopped because a fatal
content error has been detected.', details: 'The content was stopped because a fatal
content error has been detected.', link: 0
…until I close the browser tab, at which point I get:
120117 11:16:39 loader: attempt unload reloable
120117 11:16:39 loader: can�t unload reloable. Removing instance completely.
120117 11:16:39 Instance a1fc01af4444a4ac1b7816f4f9fbd9a8 shutting down
Here’s the Player.log info:
Mono path[0] = '/private/tmp/UnityWebPluginLoadInstance-1bafe0d8692cb406fab8542d64f87df3/UnityPlayer.bundle/Contents/Resources'
Mono path[1] = '/private/tmp/UnityWebPluginLoadInstance-1bafe0d8692cb406fab8542d64f87df3/Mono.bundle/Contents/Resources'
Player: init engine
OpenGL:
Version: OpenGL 2.1 [2.1 NVIDIA-7.12.9]
Renderer: NVIDIA GeForce 8800 GT OpenGL Engine
Vendor: NVIDIA Corporation
VRAM: 512 MB
Extensions: GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_APPLE_aux_depth_stencil GL_APPLE_client_storage GL_APPLE_element_array GL_APPLE_fence GL_APPLE_float_pixels GL_APPLE_flush_buffer_range GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_packed_pixels GL_APPLE_pixel_buffer GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_specular_vector GL_APPLE_texture_range GL_APPLE_transform_hint GL_APPLE_vertex_array_object GL_APPLE_vertex_array_range GL_APPLE_vertex_point_size GL_APPLE_vertex_program_evaluators GL_APPLE_ycbcr_422 GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_IBM_rasterpos_clip GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fog_distance GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_point_sprite GL_NV_texgen_reflection GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
Platform assembly: /private/tmp/UnityWebPluginLoadInstance-1bafe0d8692cb406fab8542d64f87df3/UnityPlayer.bundle/Contents/Resources/UnityEngine.dll (this message is harmless)
Non platform assembly: data-0x6940a800 (this message is harmless)
Non platform assembly: data-0x6940ca00 (this message is harmless)
Non platform assembly: data-0x69447400 (this message is harmless)
Non platform assembly: data-0x693f0600 (this message is harmless)
Receiving unhandled NULL exception
Exit with error code 2 :
0 libsystem_c.dylib 0x9449b8bc thread_stack_pcs + 39
1 UnityPlayer 0x0b69129e 0x0 + 191435422
2 UnityPlayer 0x0b691110 0x0 + 191435024
3 UnityPlayer 0x0b690fd1 0x0 + 191434705
4 UnityPlayer 0x0b85efdb 0x0 + 193327067
5 Mono 0x0bfa6fd6 mono_chain_signal + 76
6 Mono 0x0bedf372 mono_sigsegv_signal_handler + 263
7 libsystem_c.dylib 0x9449c59b _sigtramp + 43
8 ??? 0xffffffff 0x0 + 4294967295
9 CoreFoundation 0x91bdc93e __CFDictionaryStandardEquateKeys + 46
10 CoreFoundation 0x91bcf8e4 CFBasicHashFindBucket + 1844
11 CoreFoundation 0x91bcf197 CFDictionaryGetValue + 135
12 CoreFoundation 0x91c260cd __CFXPreferencesGetSearchListForBundleID + 45
13 CoreFoundation 0x91c26054 ___CFXPreferencesCopyAppValue_block_invoke_1 + 36
14 CoreFoundation 0x91c25fda CFPreferencesCopyAppValue + 170
15 UnityPlayer 0x0b9250b2 UnityBundleLoop + 45180
16 ??? 0x0d1b5169 0x0 + 219894121
17 ??? 0x0d1b5103 0x0 + 219894019
18 ??? 0x0877823b 0x0 + 142049851
19 Mono 0x0bee64a0 mono_jit_compile_method + 1283
20 Mono 0x0c02dc74 mono_runtime_invoke + 133
21 Mono 0x0c031d9c mono_runtime_class_init_full + 1406
22 Mono 0x0bf118dd mono_method_to_ir + 111749
23 Mono 0x0bee3a3d mini_method_compile + 2515
24 Mono 0x0bee577a mini_method_compile + 10000
25 Mono 0x0bee6285 mono_jit_compile_method + 744
26 Mono 0x0c02dc74 mono_runtime_invoke + 133
27 UnityPlayer 0x0b85cf9c 0x0 + 193318812
28 UnityPlayer 0x0b85d0c7 0x0 + 193319111
29 UnityPlayer 0x0b827dd6 0x0 + 193101270
30 UnityPlayer 0x0b828100 0x0 + 193102080
31 UnityPlayer 0x0b82c8a7 0x0 + 193120423
32 UnityPlayer 0x0b91993e UnityBundleCARenderFrame + 390
33 Unity Web Player 0x01309a1f _Z17UpdateOpenGLLayerP17OpenGLLayerOpaquebb + 1063
34 Unity Web Player 0x01309226 _Z35GetProgressLayerInstallManuallyRectP19ProgressLayerOpaqueP6CGRect + 568
35 QuartzCore 0x95faedd9 _ZL17CAOpenGLLayerDrawP13CAOpenGLLayerdPK11CVTimeStampj + 974
36 QuartzCore 0x95fae842 -[CAOpenGLLayer _display] + 416
37 QuartzCore 0x95f7dff5 _ZN2CA5Layer7displayEv + 223
38 QuartzCore 0x95f7df11 -[CALayer display] + 20
39 QuartzCore 0x95f75aec _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 670
40 QuartzCore 0x95f74883 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 427
41 QuartzCore 0x95f74594 _ZN2CA11Transaction6commitEv + 266
42 QuartzCore 0x95f73b29 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 67
43 CoreFoundation 0x91c367be __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
44 CoreFoundation 0x91c366fd __CFRunLoopDoObservers + 413
45 CoreFoundation 0x91c0916d __CFRunLoopRun + 1261
46 CoreFoundation 0x91c088ec CFRunLoopRunSpecific + 332
47 CoreFoundation 0x91c08798 CFRunLoopRunInMode + 120
48 HIToolbox 0x9acd9a7f RunCurrentEventLoopInMode + 318
49 HIToolbox 0x9ace0d9b ReceiveNextEventCommon + 381
50 HIToolbox 0x9ace0c0a BlockUntilNextEventMatchingListInMode + 88
51 AppKit 0x923f8040 _DPSNextEvent + 678
52 AppKit 0x923f78ab -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
53 AppKit 0x923f3c22 -[NSApplication run] + 911
54 WebKit2 0x98225214 _ZN7RunLoop3runEv + 56
55 WebKit2 0x982656a4 _ZN6WebKit17PluginProcessMainERKNS_11CommandLineE + 670
56 WebKit2 0x98238991 WebKitMain + 319
57 PluginProcess 0x0005debb 0x0 + 384699
58 PluginProcess 0x0005dda1 0x0 + 384417
59 ??? 0x00000008 0x0 + 8
Got error 2. Bailing out.
DaveA
May 31, 2012, 6:32pm
3
I’m seeing something similar. This seemed to start happening in 3.4 but still in 3.5.2. Firefox on Mac OSX