DEV Community

loading...

Unity2018.4はLTSだけどバージョンアップで破壊的変更されている

shiena profile image KOGA Mitsuhiro Originally published at qiita.com ・5 min read

修正以外の変更内容

Unity2018.4.1以降に修正以外で変更された内容を抜き出しました。
LTSなのにBackwards Compatibility Breaking Changesなんて項目もありますね。

  1. https://unity3d.com/unity/whats-new/2018.4.4

    Changes

    • Android: Android Gradle plugin version updated up to 3.4.
    • Android: Gradle version updated up to 5.1.1.
  2. https://unity3d.com/unity/whats-new/2018.4.5

    Improvements

    • Version Control: Added "Overwrite Failed Checkout Assets" editor setting, turning it off makes unity not overwrite files that can't be checked out. (1010999, 1158593)
  3. https://unity3d.com/unity/whats-new/2018.4.6

    Backwards Compatibility Breaking Changes

    • Apple TV: Remove support for Universal Harmony Remote, supporting this controller made Siri Remote and gamepads regrees by producing unintended double events for button clicks. For more information check UnityView+Keyboard.mm pressesBegan/pressesEnd functions.

    Improvements

    • XR: Updated Vuforia to version 8.3.8.
  4. https://unity3d.com/unity/whats-new/2018.4.10

    Backwards Compatibility Breaking Changes

    • Android: Improve error messages for cases where android application fails to load libmain.so. Previously it was printing "Unable to find main", now it will print "Failed to load 'libmain.so', the application will terminate.", additionally it will print exception from System.loadLibrary with detailed info, where the application was looking for libmain.so

    Improvements

    • Graphics: Optimised Cluster Rendering networking.
  5. https://unity3d.com/unity/whats-new/2018.4.14

    Changes

    • XR: Updated to Oculus 1.38 plugin and added support for valid tracking poses even when devices aren't fully tracked. (1197386)
  6. https://unity3d.com/unity/beta/2018.4.16f1

    Changes

    • Package Manager: Changed the package installation process to no longer set package directories and files as read-only on disk. This prevents all sorts of possible corruption scenarios (e.g. read-only directories, partially-read-only packages in the package cache) and avoids some permission issues when removing packages.
    • Package Manager: Changed the package installation process to systematically revert packages to their original state. Note: this has the side-effect of actively reverting local modifications in immutable packages, which could previously be kept until the dependency was updated to a different version of the package. In order to preserve local changes, a package should first be embedded in the project.

    Improvements

    • Package Manager: Added support for configuring additional SSL certificate authorities, including self-signed certificates. See the Unity Manual for more information on how to use this.
    • Package Manager: Added support for Git URLs with the SCP format (e.g. git@github.com/user/repo).
    • Package Manager: Added support for Git URLs without a trailing .git by using git:// URLs or prepending git+ to URLs (e.g. git+https://github.com/user/repo).
    • Package Manager: Added support for tarball-based dependencies (e.g. "file:.tgz").
    • Package Manager: Changed the UnityEditor.PackageManager.Client.Add method to make the @ prefix optional when adding Git-based dependencies and local dependencies (file:).
    • Package Manager: Reduced the amount of data transferred over the network when fetching package metadata from the registry.

    Features

    • Multiplayer: Added UNET encryption support.
  7. https://unity3d.com/unity/beta/2018.4.19f1

    API Changes

    • Particles: Added: Added NativeArray overloads to SetParticles and GetParticles

    Improvements

    • Editor: Greatly improves performance over large numbers of objects with RectTransforms, scene navigation is now very smooth. However actual picking is still very slow (no change). (1165982)
    • XR: Updated minimum version of Windows Mixed Reality package.

リリースノートを調べた経緯

Unity2018.4.9f1とOculus Integration v1.37を使ったプロジェクトがあり、Unityのパッチバージョンを上げてみると実機で起動できなくなりました。
公式フォーラムやAnswersでも原因を特定できておらず藁にもすがる思いで各バージョンのリリースノートをたどると2018.4.14fに以下の変更がありプロジェクト内のバージョンより大きくなっていました。

Changes

  • XR: Updated to Oculus 1.38 plugin and added support for valid tracking poses even when devices aren't fully tracked. (1197386)

恐らくこれが原因で2018.4.13f1でビルドしたものは起動できて2018.4.14f1でビルドしたものは起動できませんでした。
バージョンアップする時は下位互換性だけではなくライブラリのバージョンなど他の内容も確認が必要そうです。

色々なご意見

Discussion (0)

Forem Open with the Forem app