对 VEXcode VR 中的 Playground 加载问题进行故障排除

Screen_Shot_2020-08-20_at_11.41.27_AM.png

在 VEXcode VR 中,有时 Playground 窗口可能会卡在加载屏幕上并且无法加载选定的 Playground 窗口。

加载 Playground 可能会卡住,因为:

  • 正在加载的 Playground 文件仍在缓慢的互联网连接上下载(每个 Playground 平均大小为 7MB - 15MB)。
  • 加载 Playground 的设备可能是订单或较慢的设备。
  • Playground 的文件已被缓存,并且出现了 Playground 缓存被 Web 浏览器损坏的问题。

本文将讨论如何使用内置于 VEXcode VR 中的工具通过解决以下问题来解决 Playground 加载问题:


清除 Playground 缓存 - Chrome、Firefox、Edge 浏览器

Screen_Shot_2020-08-20_at_12.32.34_PM.png

从 VEXcode VR 的“文件”菜单中打开“关于”窗口。

清除缓存.png

About 窗口内,可以选择 Clear Playground缓存 按钮以清空 Playgrounds 的任何缓存版本。

Screen_Shot_2020-08-20_at_12.49.15_PM.png 

选择 Clear Playground Cache后,您需要刷新(重新加载)VEXcode VR 站点。 请务必保存所有未保存的项目,因为刷新(重新加载)VEXcode VR 将删除工作区中的所有块。


禁用 Playground 缓存 - 仅限 Safari 浏览器(iPad、macOS)

Screen_Shot_2020-08-20_at_12.32.34_PM.png

由于浏览器限制,在 Safari 中清除 Playground 缓存无法正常工作,因此 VEXcode VR 包含关闭缓存以解决潜在 Playground 加载问题的功能。

从VEXcode VR的File菜单中打开About窗口。

SafariCache.png

关于窗口内,你可以通过将切换键从已启用移到已禁用来禁用Playground缓存。

请记住,禁用 Playground 缓存将导致设备在每次打开 Playground 窗口时下载选定的 Playground - 这可能会导致较慢的 Internet 连接延迟。


Chrome 浏览器故障排除

Screen_Shot_2020-11-23_at_1.11.05_PM.png

如果使用 Google Chrome 时 VEXcode VR 看起来非常慢或无法正确运行代码,则您的计算机可能没有使用其图形处理单元 (GPU) 来帮助显示 Playground 环境。

确保 Google Chrome 中的“硬件加速”功能已开启:

  • 在 Google Chrome 的地址栏中输入 chrome://settings/system
  • 在系统类别下,将“可用时使用硬件加速”设置为开启设置,这应该是默认值。

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: