unity web如何运行_针对最新的Unity运行时版本测试Web播放器内容

unity web如何运行_针对最新的Unity运行时版本测试Web播放器内容

unity web如何运行

When we release new versions of Unity, we also update the Unity Web Player to contain the latest Unity runtime. This means that users who newly install the Web Player will run content with the latest version. Likewise, users who encounter content which has been built with a newer version of Unity than their Web Player runtime will automatically be updated to the latest version. This means that over time, more and more users of your content will be running it using the latest version of Unity.

当发布新版本的Unity时,我们还将更新Unity Web Player以包含最新的Unity运行时。 这意味着新安装Web Player的用户将运行最新版本的内容。 同样,遇到使用比其Web Player运行时更高的Unity版本构建的内容的用户将自动更新为最新版本。 这意味着随着时间的流逝,越来越多的内容用户将使用最新版本的Unity运行它。

We are trying to do our best to ensure that new versions of the Unity runtime are always compatible with all existing content. To ensure this, we have extensive automated test coverage for most parts of Unity and a manual test process which involves playing many popular games with new runtime versions. Nonetheless, we have not always succeeded in not breaking compatibility with new releases in the past. This is always very unfortunate when it happens, as nothing is worse then finding your existing content no longer work when a new version of Unity comes out.

我们正在尽力确保新版本的Unity运行时始终与所有现有内容兼容。 为了确保这一点,我们对Unity的大部分内容进行了广泛的自动化测试,并进行了手动测试过程,该过程涉及使用新的运行时版本玩许多受欢迎的游戏。 但是,过去,我们并非总是能成功打破与新版本的兼容性。 当发生这种情况时,这总是非常不幸的,因为没有什么更糟糕的是,当新版本的Unity发布时,发现现有内容不再起作用。

So, with Unity 4.0, we’ve taken a new approach to releasing Web Player runtimes, to make it easier for you to test your content against upcoming releases, and to make it easier for us to publish new versions of Unity without breaking existing content. The 4.0 Unity Web Plugin contains a new feature called “Release Channels”, which allows it to download different versions of the Unity runtime based on the content being played and on the user-configurable default channel. If you want to try this feature, download and install the latest Unity Web Plugin.

因此,在Unity 4.0中,我们采用了一种新的方式来发布Web Player运行时,以使您可以更轻松地对即将发布的版本进行内容测试,并且使我们可以更轻松地发布新版本的Unity而不会破坏现有内容。 4.0 Unity Web插件包含一个称为“ 发行频道”的新功能,该功能使它可以根据播放的内容和用户可配置的默认频道下载不同版本的Unity运行时。 如果要尝试使用此功能,请下载并安装最新的Unity Web插件。

There are currently two release channels available, “Stable” and “Release”. These channels provide downloads for different versions of the Unity runtime – “Stable” contains the Unity 3.5.6 runtime at this point, and “Release” is at 4.0. Once we start getting future versions of Unity into shape, you may also see a “Beta” channel becoming available. The Unity web plugin will install and use different release channels side by side. When playing back content, the default behavior is to use the channel containing the lowest version which is new enough to play back that content, and then to download (if needed) that channel and play back the content using that version. This means that with the current setup as described above, any 4.0 content will be played back with Unity 4.0 (from the Release channel), and any 3.x content will be played back with Unity 3.5.6 (from the Stable channel).

当前有两个发布渠道,“ 稳定”和“ 发布” 。 这些频道提供了针对不同版本的Unity运行时的下载-“ 稳定”此时包含Unity 3.5.6运行时,“ 发行版”为4.0。 一旦我们开始构建Unity的未来版本,您可能还会看到“ Beta”频道可用。 Unity Web插件将并排安装和使用不同的发行渠道。 播放内容时,默认行为是使用包含最低版本的频道,该频道的最新版本足以播放该内容,然后下载(如果需要)该频道并使用该版本播放内容。 这意味着在上述当前设置下,任何4.0内容将通过Unity 4.0播放(从Release通道),任何3.x内容将通过Unity 3.5.6播放(从稳定通道)。

Once we feel confident that Unity 4.0 is not causing any problems with existing content, we’ll bump it from the Release to the Stable channel, thus playing back any existing content with at least 4.0. This allows us to address Web Player backwards compatibility problems in new releases before we require everyone to update to it for all existing content. That way, we hope to cause fewer problems with web player updates in the future.

一旦我们确信Unity 4.0不会对现有内容造成任何问题,就将其从Release升级到Stable频道,从而播放至少包含4.0的任何现有内容。 这使我们能够在要求所有人针对所有现有内容对其进行更新之前,解决新版本中的Web Player向后兼容性问题。 这样,我们希望将来在网络播放器更新中引起的问题更少。

You can change the default behavior of the Plugin, however. If you right click on some Unity content (if your content has disabled right clicking, use some content which allows it, like this), you will get a popup menu. We’ve added a new “Release Channel” submenu to this menu (see screenshot). In this submenu, you can choose your default release channel and switch between using development and non-development player runtime builds.

但是,您可以更改插件的默认行为。 如果你对上一些统一的内容点击(如果您的内容已禁用右键单击,使用一些内容,允许它,像这样 ),你会得到一个弹出菜单。 我们在此菜单中添加了一个新的“ 发布频道”子菜单(请参见屏幕截图)。 在此子菜单中,您可以选择默认的发布渠道,并在使用开发和非开发播放器运行时内部版本之间进行切换。

The default release channel chosen here will set the minium release channel to run your game on. By default it is the Stable channel. But if you switch it to Release, every content you play will be played with the Release channel (since there are currently no channels above Release). This lets you test your games with the latest released Unity runtime (currently 4.0). It is advisable that you make use of this feature when testing your content, so that you are always testing against the latest version, and thus have a chance to submit bug reports if a new version breaks your content – before we update the Stable channel to the new version, and by doing so break your content for all the users.

此处选择的默认发布渠道将设置运行游戏的最小发布渠道。 默认情况下,它是稳定通道。 但是,如果将其切换到“发行”,则您播放的每个内容都会在“发行”频道中播放(因为“发行”上方目前没有任何频道)。 这使您可以使用最新发布的Unity运行时(当前为4.0)测试游戏。 建议您在测试内容时使用此功能,以便始终针对最新版本进行测试,如果新版本破坏了您的内容,则有机会提交错误报告-在我们将稳定频道更新为新版本,这样做会破坏所有用户的内容。

Note: When you are confused which runtime version is actually being used to play your content, you can always check the player log, which contains the Unity version in the first line.

注意 :当您混淆实际上使用哪个运行时版本来播放内容时,始终可以检查播放器日志 ,该日志在第一行中包含Unity版本。

The development player menu item lets you switch to using development player runtimes. Each release channel provides both, development and non-development runtime versions. In previous versions of the Unity plugin, you needed to use the editor installer to get the development Web Player. Now the installation is exactly the same – and you can switch between development and non-development versions of the runtime at any time using the plugin context menu. The development runtime has the following differences to non-development runtimes:

开发播放器菜单项使您可以切换到使用开发播放器运行时。 每个发行渠道都提供开发和非开发运行时版本。 在Unity插件的早期版本中,您需要使用编辑器安装程序来获取开发Web Player。 现在,安装完全相同–您可以随时使用插件上下文菜单在运行时的开发版本与非开发版本之间进行切换。 开发运行时与非开发运行时具有以下差异:

– Support for the profiler, and profiler-related APIs. – Support for the debugger. – Starting with the 4.0 runtime, the development runtime will pop up an error console when you throw exceptions or trigger any errors in the Unity runtime.

–支持探查器以及与探查器相关的API。 –支持调试器。 –从4.0运行时开始,当您抛出异常或触发Unity运行时中的任何错误时,开发运行时将弹出错误控制台。

翻译自: https://blogs.unity3d.com/2012/11/29/testing-your-web-player-content-against-the-latest-unity-runtime-versions/

unity web如何运行