白左
千年狐狸
千年狐狸
  • UID34985
  • 注册日期2010-12-29
  • 最后登录2023-11-13
  • 发帖数2039
  • 经验655枚
  • 威望0点
  • 贡献值364点
  • 好评度69点
  • 社区居民
  • 忠实会员
阅读:3368回复:2

【已解决】Unity游戏存档失效(IndexedDB Unavailable)

楼主#
更多 发布于:2017-05-10 00:20
fx版本:54.0a2
UA: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
Built from: https://hg.mozilla.org/releases/mozilla-aurora/rev/94b7e538af7dbb9a6567cad9125c2f5411e7fb8


游戏地址:http://mogera.jp/gameplay?gid=gm0000003180
控制台输出

00:09:40.990 IndexedDB is not available. Data will not persist in cache and PlayerPrefs will not be saved.  d5e73c84-388c-4fe3-9970-6f5e05232cc0:1:124
00:09:59.258 pre-main prep time: 18413 ms  UnityLoader.js:2:182
00:09:59.307 Initialize engine version: 5.4.1f1 (649f48bbbf0f)  UnityLoader.js:2:135
00:09:59.312 Creating WebGL 1.0 context.  UnityLoader.js:2:135
00:09:59.316 bad name in getProcAddress: glGenQueriesEXT,glGenQueries  UnityLoader.js:2:182
00:09:59.316 bad name in getProcAddress: glDeleteQueriesEXT,glDeleteQueries  UnityLoader.js:2:182
00:09:59.317 bad name in getProcAddress: glQueryCounterEXT,glQueryCounter  UnityLoader.js:2:182
00:09:59.318 bad name in getProcAddress: glGetQueryObjectui64vEXT,glGetQueryObjectui64v  UnityLoader.js:2:182
00:09:59.319 Renderer: Mozilla  UnityLoader.js:2:135
00:09:59.319 Vendor:   Mozilla  UnityLoader.js:2:135
00:09:59.320 Version:  WebGL 1.0  UnityLoader.js:2:135
00:09:59.320 GLES:     0  UnityLoader.js:2:135
00:09:59.323 ANGLE_instanced_arrays GL_ANGLE_instanced_arrays EXT_blend_minmax GL_EXT_blend_minmax EXT_color_buffer_half_float GL_EXT_color_buffer_half_float EXT_frag_depth GL_EXT_frag_depth EXT_shader_texture_lod GL_EXT_shader_texture_lod EXT_texture_filter_anisotropic GL_EXT_texture_filter_anisotropic EXT_disjoint_timer_query GL_EXT_disjoint_timer_query OES_element_index_uint GL_OES_element_index_uint OES_standard_derivatives GL_OES_standard_derivatives OES_texture_float GL_OES_texture_float OES_texture_float_linear GL_OES_texture_float_linear OES_texture_half_float GL_OES_texture_half_float OES_texture_half_float_linear GL_OES_texture_half_float_linear OES_vertex_array_object GL_OES_vertex_array_object WEBGL_color_buffer_float GL_WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc GL_WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info GL_WEBGL_debug_renderer_info WEBGL_depth_texture GL_WEBGL_depth_texture WEBGL_draw_buffers GL_WEBGL_draw_buffers WEBGL_lose_context GL_WEBGL_lose_context MOZ_WEBGL_lose_context GL  UnityLoader.js:2:135
00:09:59.323 _MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc GL_MOZ_WEBGL_compressed_texture_s3tc MOZ_WEBGL_depth_texture GL_MOZ_WEBGL_depth_texture  UnityLoader.js:2:135
00:09:59.327 OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level  <OpenGL ES 2.0> ; Context handle 1  UnityLoader.js:2:135
00:09:59.396 OnLevelWasLoaded was found on GETween
This message has been deprecated and will be removed in a later version of Unity.
Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed

  d5e73c84-388c-4fe3-9970-6f5e05232cc0:1:198033
00:10:00.877 UnloadTime: 0.995000 ms  UnityLoader.js:2:135
00:10:00.885 Converting from using anchor and lineLength properties to Text Container.


以前是可以存档的,不知道从什么版本开始就不行了,以前的档也没了_(:3 」∠)_

web版的unityplayer感觉好烂,完全没缓存的,每刷新一下页面都要从头下载一遍内容,然后再解码一遍……如果游戏有1G大,岂不是每刷新一次就得下载1G
-いたんですか? -ええ、ずっと
yfdyh000
千年狐狸
千年狐狸
  • UID29079
  • 注册日期2009-06-07
  • 最后登录2022-05-18
  • 发帖数2262
  • 经验1390枚
  • 威望0点
  • 贡献值52点
  • 好评度139点
  • 社区居民
  • 最爱沙发
  • 忠实会员
1楼#
发布于:2017-05-10 09:49
是否配置文件用过Nightly 55又用回旧版本了呢。

https://bugzilla.mozilla.org/show_bug.cgi?id=1357428
白左
千年狐狸
千年狐狸
  • UID34985
  • 注册日期2010-12-29
  • 最后登录2023-11-13
  • 发帖数2039
  • 经验655枚
  • 威望0点
  • 贡献值364点
  • 好评度69点
  • 社区居民
  • 忠实会员
2楼#
发布于:2017-05-10 10:49
yfdyh000:是否配置文件用过Nightly 55又用回旧版本了呢。

https://bugzilla.mozilla.org/show_bug.cgi?id=1357428
回到原帖
哦, 说来之前好像曾经浏览过这个bug, 但是不知道为什么完全没想起来
理论上应该不是, 因为nightly的profile和日用profile是分开的.
下载的nighlty好像也有段时间了, 不记得是不是55+的
看评论似乎重置有效, 那么用全新profile测试也应该等同吧

等下班后补充信息和测试结果

********

首先,不可能是55回退造成的,因为日用aurora只下载了54版,关闭且未曾自动更新过
而nightly……看了一下我的nightly是37.0a1的( ´・ω・`)

新profile测试后未能复现,日用profile删除/storage/后bug消失。(代价是损失了47个站的indexeddb,虽然试了几个好像没什么影响
在删除前控制台运行【var request = window.indexedDB.open("MyTestDatabase", 3);】报错"Unkown Error";删除后无报错。
总算可以在本地玩了ouo

至于原因就只能猜了,也许是某次崩溃之后损坏了indexeddb,或者偶然混用了nightly,用37a1的玷污了54a2的,也可能是因为这个游戏存的档太老了和现在的不兼容……
-いたんですか? -ええ、ずっと
游客

返回顶部