mark71
October 7, 2015, 8:44am
1
Sometimes when I want to test a new build on my Galaxy S5 (Android 5.0.1) the screen turns black / dark grey and flickers. The splash screen is not shown. When I press the Android Home button and return to the app the screen is all pink and the flickering has stoppped.
Then when I kill the app and start it again it works fine.
Has anyone else seen these issues?
My app is forced to use OpenGLES 2.0
I am using Unity 5.2.1p2
Bug: case 736369
mark71
October 15, 2015, 8:26am
2
LogCat Info for when this happens… → GLSL link failed??:
10-15 10:18:17.942: E/Zygote(32136): MountEmulatedStorage()
10-15 10:18:17.942: E/Zygote(32136): v2
10-15 10:18:17.942: I/SELinux(32136): Function: selinux_compare_spd_ram, SPD-policy is existed. and_ver=SEPF_SM-G901F_5.0.2 ver=27
10-15 10:18:17.942: I/SELinux(32136): Function: selinux_compare_spd_ram , priority [1] , priority version is VE=SEPF_SM-G901F_5.0.2_0027
10-15 10:18:17.942: I/libpersona(32136): KNOX_SDCARD checking this for 10310
10-15 10:18:17.942: I/libpersona(32136): KNOX_SDCARD not a persona
10-15 10:18:17.952: E/SELinux(32136): [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
10-15 10:18:17.972: D/TimaKeyStoreProvider(32136): TimaSignature is unavailable
10-15 10:18:17.982: D/ActivityThread(32136): Added TimaKeyStore provider
10-15 10:18:19.232: D/PhoneWindow(32136): FMB installDecor mIsFloating : false
10-15 10:18:19.232: D/PhoneWindow(32136): FMB installDecor flags : -2139029248
10-15 10:18:20.912: W/ResourceType(32136): Invalid package identifier when getting bag for resource number 0x00000000
10-15 10:18:21.132: D/PhoneWindow(32136): FMB isFloatingMenuEnabled mFloatingMenuBtn : null
10-15 10:18:21.132: D/PhoneWindow(32136): FMB isFloatingMenuEnabled return false
10-15 10:18:21.632: I/Timeline(32136): Timeline: Activity_idle id: android.os.BinderProxy@19baa17d time:121194793
10-15 10:18:22.202: I/Adreno(32136): EGLInit: QTI Build: 02/03/15, b606245, I0829b9e471, 20150203_LA_BF_2_1_AU139
10-15 10:18:22.272: I/Adreno(32136): Unknown config attribute query: 0x30e1
10-15 10:18:22.272: I/Adreno(32136): Unknown config attribute query: 0x30e2
10-15 10:18:22.322: D/Unity(32136): GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_OES_shader_multisample_interpolation GL_EXT_texture_cube
10-15 10:18:22.322: D/Unity(32136): _map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_sRGB_write_control
10-15 10:18:22.842: W/libc(32136): pthread_create sched_setscheduler call failed: Operation not permitted
10-15 10:18:22.852: I/System.out(32136): (HTTPLog)-Static: isSBSettingEnabled false
10-15 10:18:22.852: I/System.out(32136): (HTTPLog)-Static: isShipBuild true
10-15 10:18:22.852: I/System.out(32136): (HTTPLog)-Thread-50755-144732706: SmartBonding Enabling is false, SHIP_BUILD is true, log to file is false, DBG is false
10-15 10:18:22.852: I/System.out(32136): (HTTPLog)-Static: isSBSettingEnabled false
10-15 10:18:22.872: I/System.out(32136): KnoxVpnUidStorageknoxVpnSupported API value returned is false
10-15 10:18:23.242: I/Choreographer(32136): Skipped 57 frames! The application may be doing too much work on its main thread.
10-15 10:18:23.262: I/Timeline(32136): Timeline: Activity_idle id: android.os.BinderProxy@19baa17d time:121196422
10-15 10:18:23.612: E/libEGL(32136): call to OpenGL ES API with no current context (logged once per thread)
10-15 10:18:23.662: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:23.662: E/Unity(32136):
10-15 10:18:23.662: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.142: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.142: E/Unity(32136):
10-15 10:18:24.142: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.152: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.152: E/Unity(32136):
10-15 10:18:24.152: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.152: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.152: E/Unity(32136):
10-15 10:18:24.152: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.152: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.152: E/Unity(32136):
10-15 10:18:24.152: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.152: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.152: E/Unity(32136):
10-15 10:18:24.152: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.152: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.152: E/Unity(32136):
10-15 10:18:24.152: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.152: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.152: E/Unity(32136):
10-15 10:18:24.152: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.152: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.152: E/Unity(32136):
10-15 10:18:24.152: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.152: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.152: E/Unity(32136):
10-15 10:18:24.152: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.152: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.152: E/Unity(32136):
10-15 10:18:24.152: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.192: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.192: E/Unity(32136):
10-15 10:18:24.192: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.192: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.192: E/Unity(32136):
10-15 10:18:24.192: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.202: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.202: E/Unity(32136):
10-15 10:18:24.202: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.202: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.202: E/Unity(32136):
10-15 10:18:24.202: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.202: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.202: E/Unity(32136):
10-15 10:18:24.202: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.202: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.202: E/Unity(32136):
10-15 10:18:24.202: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.202: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.202: E/Unity(32136):
10-15 10:18:24.202: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.202: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.202: E/Unity(32136):
10-15 10:18:24.202: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.222: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.222: E/Unity(32136):
10-15 10:18:24.222: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.222: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.222: E/Unity(32136):
10-15 10:18:24.222: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.242: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.242: E/Unity(32136):
10-15 10:18:24.242: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.242: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.242: E/Unity(32136):
10-15 10:18:24.242: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.242: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.242: E/Unity(32136):
10-15 10:18:24.242: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:24.452: E/Unity(32136): -------- GLSL link failed, no info log provided.
10-15 10:18:24.452: E/Unity(32136):
10-15 10:18:24.452: E/Unity(32136): (Filename: Line: 585)
10-15 10:18:25.062: W/Unity(32136): Material Default UI Material doesn’t have _Stencil property
10-15 10:18:25.062: W/Unity(32136):
10-15 10:18:25.062: W/Unity(32136): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
10-15 10:18:25.092: W/Unity(32136): Material Default UI Material doesn’t have _Stencil property
10-15 10:18:25.092: W/Unity(32136):
10-15 10:18:25.092: W/Unity(32136): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
10-15 10:18:25.092: W/Unity(32136): Material Default UI Material doesn’t have _Stencil property
10-15 10:18:25.092: W/Unity(32136):
10-15 10:18:25.092: W/Unity(32136): (Filename: ./artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)
I have same problem in the version 5.2.1p3
it was resolved by loading the game scene after the empty scene.
BMO
October 28, 2015, 5:25am
4
I also have this log in one confirmed instance where we encountered graphical glitching followed by pink textures on some of our ui. Seeing this very rarely on android only, so far our occurrences seem to be after install on the first app run. Requires the app to be killed to get rid of it, as you mentioned.
Unity: 5.2.0p1
Devices:
Nexus 6, os 5.1 (confirmed gsls link fail log below)
Nexus 4, os 4.3 (no log)
Galaxy S5, os 5.0 (no log)
Our first reported instance of this issue coincides with our upgrade from 5.1.2p2 → 5.2.0p1, for what thats worth.
0-27 11:09:25.654 E/libEGL ( 6660): call to OpenGL ES API with no current context (logged once per thread)
10-27 11:09:25.672 E/Unity ( 6660): -------- GLSL link failed, no info log provided.
10-27 11:09:25.672 E/Unity ( 6660):
10-27 11:09:25.672 E/Unity ( 6660): (Filename: Line: 584)
… repeats 29 more times …
BMO
October 29, 2015, 5:15pm
5
I was informed that this may be fixed in 5.2.3, per this issue:
Hi, I also getting:
E/Unity (18988): -------- GLSL link failed, no info log provided.
with Unity 5.3.4p1 + Huawei G8 (Rio-L02) + Android 5.1, but only happen in first game launch, any idea guys?
Lszt
August 24, 2016, 8:19am
7
It’s happened to me here too (Unity 5.3.5f1)… So it’s not fixed at all, is there a way to reopen a bug ?
vexe
December 8, 2016, 3:38am
8
Same thing just happened to me. Can we get someone from Unity to comment on this?
TuanP
December 29, 2016, 8:03am
9
My app crashes on startup with “GLSL link failed, no info log provided”
When I run it for the second time, everything works but this is annoying.
rrsimon
January 10, 2017, 3:32pm
10
We’re also getting this error when launching our Underground version downloaded from the Amazon Store because they force a popup at the very beginning. I guess this pauses Unity and makes a bunch of GLSL link failed errors.
Because of this, our player character doesn’t appear in the levels. You can play but he is never rendered. Not even in the character select … I hope this gets fixed but I have to figure out a way around it.
We also have the same issue with our app. We have many exceptions thrown in our google analytic with this error.
-------- GLSL link failed, no info log provided.
Only on android. Did someone found a reason/fix/information about this?
Almost all Android devices and firmware seem to be impacted…
This thread is quite old but I think our users are experiencing the same issue on Android. We’re using Unity 2019.2.18f1 . We haven’t been able to reproduce it ourselves so we have no clue how to fix it Doesn’t anyone have any suggestions?
Which graphics API you are using? I’ve seen similar issue with some Android GPU drivers, they did not like rendering to render texture with 8xMSAA + without depth buffer and would crash after flickering for couple of seconds. Fix for that issue is in Unity 2019.3
@rjonaitis We’re using OpenGLES3 only. We’re also using LWRP 6.9.1 . Our game has MSAA disabled in the LWRP.
Moving to Unity 2019.3 makes me very nervous considering it just came out of beta, I was hoping to give it a couple of months to stabilize before jumping in.
All the devices experiencing the problem so far are Android 6.0 and 7.0
PandaArcade:
@rjonaitis We’re using OpenGLES3 only. We’re also using LWRP 6.9.1 . Our game has MSAA disabled in the LWRP.
Moving to Unity 2019.3 makes me very nervous considering it just came out of beta, I was hoping to give it a couple of months to stabilize before jumping in.
All the devices experiencing the problem so far are Android 6.0 and 7.0
There’s nothing more I can do without a reproduction project, as this seems like a specific drivers issue since you were unable to reproduce it yourself.