iOS ハードウェアガイド
iOS 2D テクスチャ オーバーライド

Player settings for the iOS platform

This page details the Player settings specific to iOS. For a description of the general Player settings, see Player settings.

Note: Unity iOS requires iOS 7.0 or higher. Unity does not support iOS 6.0 or earlier versions.

Standalone Mac Player settings
Standalone Mac Player settings

You can find documentation for the properties in the following sections:

Icon

Use the Icon settings to customize the branding for your app on the Apple Store.

Note: If any icon textures are omitted, the icon texture with the nearest size is scaled accordingly (with a preference towards larger resolution textures).

設定 機能
Application icons 各 iOS デバイスのアプリケーションに表示するカスタム製のアイコンを指定します。
Spotlight icons 各 iOS デバイスのゲームの Spotlight 検索結果に表示するカスタム製のアイコンを指定します。
Settings icons 各 iOS デバイス自体の設定画面に表示するカスタム製のアイコンを指定します。
Notification icons ゲームにお知らせを送信するときに各 iOS デバイスで表示するカスタム製のアイコンを指定します。
Marketing icons 各 iOS デバイスで使用する App Store でゲームを表示するカスタム製のアイコンを指定します。

Resolution and Presentation

Use the Resolution and Presentation section to customize aspects of the screen’s appearance:

Resolution Scaling

Resolution Scaling player settings for the iOS platform
Resolution Scaling player settings for the iOS platform

The Resolution Scaling Mode allows you to set the scaling to be equal to or below the native screen resolution:

機能
FixedDPI Allows you to scale the device’s screen resolution below its native resolution and show the Target DPI property. Use this to optimize performance and battery life or target a specific DPI setting.
Disabled Ensures that scaling is not applied and the game renders to its native screen resolution.

Set the Target DPI of the game screen. Unity downscales the game screen to match this setting if the device’s native screen DPI is higher than this value. The scale is calculated as min(Target DPI * Factor / Screen DPI, 1). The Factor is controlled by the Resolution Scaling Fixed DPI Factor on the Quality settings.

Note: This option only appears when the Resolution Scaling Mode is set to Fixed DPI.

Orientation

Orientation player settings for the iOS platform
Orientation player settings for the iOS platform

Choose the game’s screen orientation from the Default Orientation drop-down menu:

設定 機能
Portrait Home button appears at the bottom.
Portrait Upside Down Home button appears at the top.
Landscape Left Home button appears on the right side.
Landscape Right Home button appears on the left side.
Auto Rotation Screen orientation changes with device orientation. This is the default.

Note: This setting is shared between iOS and Android devices.

When you set the orientation to Auto Rotation, the Allowed Orientations for Auto Rotation section appears.

Enable the Use Animated Autorotation setting if you want orientation changes to animate the screen rotation rather than just switch. This is only visible when Default Orientation is set to Auto Rotation.

Allowed Orientations for Auto Rotation

This section is only visible when Default Orientation is set to Auto Rotation.

Allowed Orientations for Auto Rotation player settings for the iOS platform
Allowed Orientations for Auto Rotation player settings for the iOS platform

Because Auto Rotation changes screen orientation to match the device, you may want to limit the screen orientations allowed (for example, locking a device to landscape).

Enable each orientation you want to allow by checking its box in this section:

設定 機能
Portrait 縦長方向が可能。
Portrait Upside Down 縦長の逆向きが可能。
Landscape Right 横長方向の右向き (ホームボタンが 側にある状態) が可能。
Landscape Left 横長方向の左向き (ホームボタンが 側にある状態) が可能。

Multitasking Support

Multitasking Support player settings for the iOS platform
Multitasking Support player settings for the iOS platform

Enable the Requires Fullscreen option if your game needs to run in Fullscreen mode.

Status Bar

Status Bar player settings for the iOS platform
Status Bar player settings for the iOS platform
設定 機能
Status Bar Hidden Enable this option to hide the the status bar when the application launches.
Status Bar Style アプリケーション起動時のステータスバーのスタイルを指定します。オプションには DefaultLight があります。
Disable Depth and Stencil Enable this option to disable the depth and stencil buffers.
Show Loading Indicator Select how the loading indicator should appear. The options are Don’t Show, White Large, White, and Gray.

Splash Image

Above the common Splash Screen settings, the Player settings allow you to specify splash images for the iOS platform.

Splash Settings for the iOS platform
Splash Settings for the iOS platform

Use the Virtual Reality Splash Image property to select a custom splash image to be displayed in Virtual Reality displays.

Below the common Splash Screen settings, you can enable the Use Storyboard for Launch to show the Custom Storyboard button.

Use Storyboard for Launch Screen on the iOS Player platform
Use Storyboard for Launch Screen on the iOS Player platform

Click the button to select a storyboard to show when your game starts up on the device. For your storyboard to appear here, you first need to create the storyboard in Xcode and copy it to your Project.

Alternatively, you can leave the Use Storyboard for Launch option disabled and implement splash images with one of these methods: Launch Screens or Legacy Launch Images.

Specify Launch Screen or Legacy Launch Images on the iOS Player platform
Specify Launch Screen or Legacy Launch Images on the iOS Player platform

Launch Screens

A Launch Screen is an XIB file from which iOS creates a splash screen dynamically on the device. However, there are some limitations:

  • You can’t display different content depending on iPad device orientation.

  • All iPhones support landscape Launch Screens; however, due to a bug in iOS, Landscape Left is shown instead of Landscape Right on certain iOS versions.

Each the iPhone Launch Screen and iPad Launch Screen sections allow you to select the launch screen type from the Launch Screen type drop-down menu:

機能
Default 起動画像と非常によく似た起動画面。横向き縦向きで 1 つの画像が選択されます。選択の優先順位は、iPhone 6+ の起動画像、モバイル共有の起動画像、iPhone 6+ のデフォルトの Unity 起動画像。画像は Aspect Fill モードで表示されます。
None まるで、起動画像のみを使用したような挙動になります。
Image and background (relative size) Displays a center-aligned image, with the rest of area filled with solid color. The image size is user-specified percentage of the screen size, computed in the smaller dimension (vertical on landscape, horizontal in portrait orientations). User also specifies background color and images for portrait and landscape orientations. Image selection order: the user-specified image, shared mobile launch image, default Unity launch image for iPhone 6+. The images are displayed using aspect-fill mode.
Image and background (constant size) ほぼ Image with background (relative size) オプションと同じですが、ユーザーが画像サイズをポイント数で指定する点が異なります。
Custom XIB A user-specified XIB file from any location.

Note: With a Unity Personal subscription the Unity Splash Screen displays as soon as engine initializes, in addition to your chosen splash screen.

Legacy Launch Images

Launch Images are static splash screen images that occupy the entire screen. You can define them in an Asset catalog (Images.xcassets/LaunchImage). Always add a Launch Screen for each supported size and orientation combination:

設定 機能
Mobile Splash Screen iOS のスプラッシュスクリーンに使用するテクスチャを指定。標準のスプラッシュスクリーンサイズは 320x480 (このサイズは Android と iOS で共通です)。
iPhone 3.5"/Retina iOS 3.5" Retina のスプラッシュ画面に使用されるべきテクスチャを指定。スプラッシュ画面サイズは 640x960。
iPhone 4"/Retina iOS 4" Retina のスプラッシュ画面として使用されるべきテクスチャを指定。スプラッシュ画面サイズは640x1136。
iPhone 4.7"/Retina iOS 4.7" Retina のスプラッシュ画面で使用するテクスチャを指定。スプラッシュ画面サイズは750x1334。
iPhone 5.5"/Retina iOS 5.5" Retina のスプラッシュ画面で使用するテクスチャを指定。スプラッシュ画面サイズは1242x2208。
iPhone 5.5" Landscape/Retina iOS 5.5" Retina の横向きスプラッシュ画面で使用するテクスチャを指定。スプラッシュ画面サイズは2208x1242。
iPhone X\Retina iPhone X Retina のスプラッシュスクリーンで使用するテクスチャを指定。スプラッシュスクリーンサイズは 1125x2436。
iPhone X Landscape\Retina iPhone X Retina の横向きスプラッシュスクリーンで使用するテクスチャを指定。スプラッシュスクリーンサイズは 2436x1125。
iPad Portrait iPad の縦向きのスプラッシュスクリーンとして使用するテクスチャを指定。標準のスプラッシュスクリーンサイズは768x1024。
iPad Landscape iPad の横向きのスプラッシュスクリーンとして使用するテクスチャを指定。標準のスプラッシュスクリーンサイズは1024x768。
iPad Portrait/Retina iPad Retina の縦向きのスプラッシュスクリーンとして使用するテクスチャを指定。標準のスプラッシュスクリーンサイズは1536x2048。
iPad Landscape/Retina iPad Retina の横向きのスプラッシュスクリーンとして使用するテクスチャを指定。標準のスプラッシュスクリーンサイズは2048×1536。

Only iPhone 6+ supports landscape orientation; other iPhones can only use portrait.

Launch Images are selected in the following order:

  • テクスチャが設定されている場合は、特定の Launch Image によってオーバーライドされます。
  • デフォルトの Unity スプラッシスクリーン起動画像

ビルドに対し、すべての Launch Images を設定する必要があります。

Debugging and crash reporting

Debugging and crash reporting on the iOS platform
Debugging and crash reporting on the iOS platform
設定 機能
Enable Internal Profiler (Deprecated) アプリケーションのパフォーマンスデータを収集し、コンソールにレポートを表示する内部プロファイラーを有効にします。レポートは毎フレーム動作する Unity のサブシステムを記録するためミリ秒単位で表示されます。データは30フレームの平均になります。
On .Net UnhandledException .NET で処理されない例外の場合に取られるアクションを選択します。オプションは Crash (アプリケーションがクラッシュすることはほとんどありません。アプリケーションのユーザーは iOS に iTune に送信できるクラッシュレポートを生成させ、開発者が検査することができます) と Silent Exit (アプリケーションを正常終了します) です。
Log Obj-C Uncaught Exceptions Enables a custom Objective-C Uncaught Exception handler, which prints exception information to console.
Enable Crash Report API Enables a custom crash reporter to capture crashes. Crash logs are available to scripts via CrashReport API.

Other Settings

This section allows you to customize a range of options organized into the following groups:

レンダリング

Use these settings to customize how Unity renders your game for the iOS platform.

Rendering Player settings for iOS platforms
Rendering Player settings for iOS platforms
設定 機能
Color Space Choose which color space should be used for rendering: Gamma or Linear.
See the Linear rendering overview for an explanation of the difference between the two.
Auto Graphics API Disable this option to manually pick and reorder the graphics APIs. By default this option is enabled, and Unity includes Metal, and GLES2 as a fallback for devices where Metal is not supported.
Color Gamut You can add or remove color gamuts for the iOS platform to use for rendering. Click the plus (+) icon to see a list of available gamuts. A color gamut defines a possible range of colors available for a given device (such as a monitor or screen). The sRGB gamut is the default (and required) gamut.
When targeting recent iOS devices with wide color gamut displays, use DisplayP3 to utilize full display capabilities. Use Metal Editor Support as a fallback for older devices.
Metal Editor Support Enable this option to use the Metal API in the Unity Editor and unlock faster Shader iteration for targeting the Metal API.
Metal API Validation Enable this option when you need to debug Shader issues.
Note: Validation increases CPU usage, so use it only for debugging.
Metal Write-Only Backbuffer デフォルトではないデバイスの向きでパフォーマンスを向上させます。これにより、バックバッファに frameBufferOnly フラグを設定します。これは、バックバッファからの読み直しを防ぎますが、ドライバ-の可能になる最適化もあります。
Force hard shadows on Metal Enable this option to force Unity to use point sampling for shadows on Metal. This reduces shadow quality, which should give better performance.
Memoryless Depth Choose when to use memoryless render textures. Memoryless render textures are temporarily stored in the on-tile memory when rendered, not in CPU or GPU memory. This reduces memory usage of your app but you cannot read or write to these render textures.
Note: Memoryless render textures are only supported on iOS, tvOS 10.0+ Metal and Vulkan. Render textures are read/write protected and stored in CPU or GPU memory on other platforms.
Unused Never use memoryless framebuffer depth.
Forced Always use memoryless framebuffer depth.
Automatic Let Unity decide when to use memoryless framebuffer depth.
Multithreaded Rendering Enable this option to use multithreaded rendering. This is only supported on Metal.
Static Batching Enable this option to use Static batching.
Dynamic Batching Enable this option to use Dynamic Batching on your build (enabled by default).
Note: Dynamic batching has no effect when a Scriptable Render Pipeline is active, so this setting is only visible when nothing is set in the Scriptable Render Pipeline Asset Graphics setting.
GPU Skinning Enable this option to use DX11/ES3 GPU skinning. To learn more about GPU skinning, see the Wikipedia page on skeletal animation.
Graphics Jobs (Experimental) Enable this option to instruct Unity to offload graphics tasks (render loops) to worker threads running on other CPU cores. This is intended to reduce the time spent in Camera.Render on the main thread, which is often a bottleneck.
Note: This feature is experimental. It may not deliver a performance improvement for your project, and may introduce instability.
Unity currently only supports Graphics Jobs when using Vulkan and this setting has no effect when using OpenGL ES.
Lightmap Streaming Enabled Enable this option to load only the lightmap mip maps as needed to render the current game Cameras. This value applies to the lightmap textures as they are generated.
Note: To use this setting, you must enable the Texture Streaming Quality setting.
Streaming Priority Set the lightmap mip map streaming priority to resolve resource conflicts. These values are applied to the light map textures as they are generated.
Positive numbers give higher priority. Valid values range from –128 to 127.
Enable Frame Timing Stats Enable this option to gather CPU/GPU frame timing statistics.

Identification

Identification settings for iOS platforms
Identification settings for iOS platforms
設定 機能
Bundle Identifier Enter the provisioning profile of the game or product you are building. The basic structure of the identifier is com.CompanyName.ProductName. This structure may vary internationally based on where you live, so always default to the string provided to you by Apple for your Developer Account. Your ProductName is set up in your provisioning certificates.
This value appears as CFBundleIdentifier in the associated info.plist file. See the Apple developer documentation on CFBundleIdentifier to learn more.
Note: This is shared between iOS, tvOS and Android.
Version Enter the release-version-number string for the bundle (for example, 4.3.6). This appears as CFBundleShortVersionString in the associated info.plist file.
See the Apple developer documentation on CFBundleShortVersionString to learn more.
Build Enter the build number for this version of your app. This appears as CFBundleVersion in the associated info.plist file.
See the Apple developer documentation on CFBundleVersion to learn more.
Signing Team ID Enter your Apple Developer Team ID. You can find this on the Apple Developer website under Xcode Help. This sets the Team ID for the generated Xcode project, allowing developers to use the Build and Run functionality. An Apple Developer Team ID must be set here for automatic signing of your app. For more information, see Creating Your Team Provisioning Profile.
Automatically Sign Enable this option to allow Xcode to automatically sign your build.

設定

Configuration settings for iOS platforms
Configuration settings for iOS platforms

A API configuration settings

B Apple-specific information

C Device information

D Variant map for app slicing

E Other configuration settings

API configuration settings

API configuration settings for iOS platform
API configuration settings for iOS platform
設定 機能
スクリプトランタイムのバージョン Choose which .NET runtime to use in your project. For more details, see Microsoft’s .NET documentation.
.NET 3.5 Equivalent (Deprecated) A .NET runtime which implements the .NET 3.5 API. This functionality is deprecated, and should no longer be used. Please use .NET 4.
.NET 4.x Equivalent A .NET runtime which implements the .NET 4 API. This API is newer than .NET 3.5, and as such, it offers access to more APIs, is compatible with more external libraries, and supports C# 6. This is the default scripting runtime.
Scripting Backend The scripting backend determines how Unity compiles and executes C# code in your Project. This setting is not enabled for iOS.
Mono To use incremental builds, choose the Append option after selecting Build from the Build Settings dialog. The Replace option will perform a clean build.Compiles C# code into .NET Common Intermediate Language (CIL) and executes that CIL using a Common Language Runtime.
Warning: Mono builds are no longer accepted in the Apple App store and Mono is not supported by iOS 11 and above. Mono can only be selected when using the deprecated .NET 3.5 runtime.
IL2CPP Compiles C# code into CIL, converts the CIL to C++ and then compiles that C++ into native machine code, which executes directly at run time. See IL2CPP for more information.
Tip: The C++ code generated by the IL2CPP scripting backend can be updated incrementally, allowing incremental C++ build systems to compile only the changes source files. This can significantly lower iteration times.
API Compatibility Level The compatibility level determines which .NET APIs you can use in your Project. This setting can affect compatibility with 3rd-party libraries.
Tip: If you are having problems with a third-party assembly, you can try the suggestion in the API Compatibility Level section below.
.Net 2.0 Maximum .net compatibility, biggest file sizes. Part of the deprecated .NET 3.5 runtime.
.Net 2.0 Subset Subset of full .net compatibility, smaller file sizes. Part of the deprecated .NET 3.5 runtime.
.Net Standard 2.0 Compatible with .NET Standard 2.0. Produces smaller builds and has full cross-platform support.
.Net 4.x Choose this option when using libraries that access APIs not included in .NET Standard 2.0. Compatible with the .NET Framework 4 (which includes everything in the .NET Standard 2.0 profile as well as additional APIs).
Produces larger builds and any additional APIs available are not necessarily supported on all platforms. See Referencing additional class library assemblies for more information.
C++ Compiler Configuration Choose the C++ compiler configuration used when compiling IL2CPP generated code. This setting is not enabled for iOS.

API Compatibility Level

You can choose your mono API compatibility level for all targets. Sometimes a 3rd-party .NET library uses functionality that is outside of your .NET compatibility level. In order to understand what is going on in such cases, and how to best fix it, try following these suggestions:

  1. Install Reflector for Windows.
  2. Drag the .NET assemblies for the API compatilibity level you are having issues with into Reflector. You can find these under Frameworks/Mono/lib/mono/YOURSUBSET/.
  3. Drag in your 3rd-party assembly.
  4. Right-click your 3rd-party assembly and select Analyze.
  5. In the analysis report, inspect the Depends on section. The report highlights anything that the 3rd-party assembly depends on, but that is not available in the .NET compatibility level of your choice in red.

Apple-specific information

Apple-specific configuration settings for iOS platform
Apple-specific configuration settings for iOS platform
設定 機能
Use on Demand Resource Enable this option to use on-demand resources.
When enabled, the Variant map for app slicing section appears.
Accelerometer Frequency Define how often to sample the accelerometer. If you choose Disabled, then no samples are taken. Otherwise, you can choose from 15Hz, 30Hz, 60Hz and 100Hz frequencies.
Camera Usage Description Enter the reason for accessing the camera on the iOS device.
Location Usage Description Enter the reason for accessing the location of the iOS device.
Microphone Usage Description Enter the reason for accessing the microphone on the iOS device.
Mute Other Audio Sources Enable this option if you want your Unity application to stop Audio from applications running in the background. Otherise, Audio from background applications continues to play alongside your Unity application.
Prepare iOS for Recording Enable this option to initialize the microphone recording APIs. This makes recording latency lower, though on iPhones it re-routes audio output via earphones only.
Force iOS Speakers when Recording Enable this option to send the phone output through the internal speakers, even when headphones are plugged in and recording.
Requires Persistent WiFi Enable this option to require a Wi-Fi connection. iOS maintains the active Wi-Fi connection while the application is running.
Allow downloads over HTTP (nonsecure) Enable this option to allow downloading content over HTTP. Default and recommended is HTTPS.
Supported URL schemes A list of supported URL schemes.
To add new schemes, increase the value of the Size property and then set a reference to the Asset to load in the new Element box that appears.

Device information

Device configuration settings for iOS platform
Device configuration settings for iOS platform
設定 機能
Disable HW Statistics Enable this option to instruct the application not to send information about the hardware to Unity. For more details, see Unity Hardware Statistics.
Target Device Select which devices the game targets. The choices are iPhone Only, iPad Only, and iPhone + iPad.
Target SDK Select which SDK the game targets. The choices are Device SDK and Simulator SDK.
Note: Be sure to select the correct SDK. For example, if you select the Device SDK but then target the Simulator in Xcode then the build will fail with a lot of error messages.
Target minimum iOS Version Defines the minimum version of iOS that the game works on.
Enable ProMotion Support Enable this option to allow high frequency refresh rates (120 Hz) on ProMotion displays. Enabling this setting might affect battery life.
Requires ARKit support Enable this option to restrict the app to iPhone 6s/iOS 11 or newer devices when publishing to the App Store.
Defer system gestures on edges Enable which edges that users must swipe twice to enact system gestures: Top Edge, Left Edge, Bottom Edge, and Right Edge
Hide home button on iPhone X Enable this option to hide the home button on iPhone X devices when the app is running.
Render Extra Frame on Pause Enable this option to issue an additional frame after the frame when the app is paused. This allows your app to show graphics that indicate the paused state when the app is going into the background.
Behavior in Background Choose what the application should do when the user presses the home button.
Custom You can implement your own behaviour with background processing. For an example, see the BackgroundFetch Bitbucket project.
Suspend Suspend the app but don’t quit. This is the default behavior.
Exit Instead of suspending, let the app quit when the user presses the home button.

Variant map for app slicing section

Expand the Variant map for app slicing section to see the list of variant names configured in scripting. For more information on variants, see App slicing.

Variant configuration settings for iOS platform
Variant configuration settings for iOS platform

Note: If you don’t see the section, make sure the Use on Demand Resource property is enabled.

You can add and remove new variants with the plus (+) and minus (-) icons. You can also select a variant from the list and see or modify its settings under Variant settings:

設定 機能
Variant name Displays the name of the variant from the loading script. For any of these settings, if you choose Custom value, an additional property appears underneath where you can enter your own value to use.
Device Choose which device this variant targets. Options include Any (the default), iPhone, iPad, iWatch, and Custom value.
Memory Choose the minimum memory required for this variant. Options include Any (the default), 1GB, 2GB, 3GB, 4GB, and Custom value.
Graphics Choose the Metal framework to use. Options include Any (the default), Metal1v2, Metal2v2, Metal2v3, Metal3v1, Metal3v2, Metal4v1, and Custom value.
Display color space Choose the color gamut to use. Options include Any (the default), sRGB, DisplayP3, and Custom value.

You can also add your own setting. Click the Add custom entry button and a new pair of text boxes appear. Enter the name of the setting in the box displaying <key> and the value you want to use in the box displaying <value>.

Other configuration settings

Other configuration settings for iOS platform
Other configuration settings for iOS platform
設定 機能
Architecture Choose which architecture to target.
Universal Support all architectures. This is the recommended option.
Armv7 Support only the older 32-bit ARM architecture.
Arm64 Support only the newer 64-bit ARM architecture. You might want to consider selecting this option if your app is only for high-end devices.
x86_64 Support the x86_64 Intel architecture. This is the only architecture available for Simulator SDK.
Scripting Define Symbols Set custom compilation flags. For more details, see Platform dependent compilation.
Allow ‘unsafe’ Code Enable support for compiling ‘unsafe’ C# code in a pre-defined assembly (for example, Assembly-CSharp.dll).
For Assembly Definition Files (.asmdef), click on one of your .asmdef files and enable the option in the Inspector window that appears.
Active Input Handling Choose how you want to handle input from users.
Input Manager Use the traditional Input settings.
Input System (Preview) Use the newer Input system. The Input System is under development. To try an early preview of the Input System, install the InputSystem package. If you select the Input System (Preview option without having that package installed, nothing happens except for some extra processing.
Both Use both systems side by side.

Optimization

Optimization settings for iOS platforms
Optimization settings for iOS platforms
設定 機能
Prebake Collision Meshes Enable this option to add collision data to Meshes at build time.
Keep Loaded Shaders Alive Enable this option to prevent shaders from being unloaded.
Preloaded Assets Set an array of Assets for the player to load on startup.
To add new Assets, increase the value of the Size property and then set a reference to the Asset to load in the new Element box that appears.
AOT compilation options Additional options for Ahead of Time (AOT) compilation. This helps optimize the size of the built iOS player.
Strip Engine Code Enable this tool if you want the Unity Linker tool to remove code for Unity Engine features that your Project does not use. This setting is only available with the IL2CPP Scripting Backend.
Most games don’t use all necessary DLLs. With the Strip Engine Code option enabled, you can strip out unused parts to reduce the size of the built player on iOS devices. If your game is using classes that would normally be stripped out by the option you currently have selected, you’ll be presented with a Debug message when you make a build.
Managed Stripping Level Choose how aggressively Unity strips unused managed (C#) code.
When Unity builds your game or application, the Unity Linker process can strip unused code from the managed dynamically linked libraries used in the Project. Stripping code can make the resulting executable significantly smaller, but can sometimes mistakenly remove code that is actually used. This setting allows you to choose how aggressively Unity should remove unused code.
Normal Remove unreachable managed code to reduce build size and .NET/IL2CPP build times.
Aggressive Remove code more aggressively than under the normal option. Code size is further reduced, but this additional reduction may have side effects. For example, some methods may no longer be visible in the debugger and code accessed through reflection can be stripped. You can create a custom link.xml file to preserve specific classes and methods. See Managed bytecode stripping with IL2CPP for more information.
Script Call Optimization Choose how to optionally disable exception handling for a speed boost at runtime. See iOS Optimization for details.
Slow and Safe Use full exception handling (with some performance impact on the device when using the Mono scripting backend).
Fast but no Exceptions No data provided for exceptions on the device (the game runs faster when using the Mono scripting backend).
Note: Using this option with the IL2CPP Scripting Backend does not impact performance; however, using it can avoid undefined behavior on release builds.
Vertex Compression Set vertex compression per channel. For example, you can enable compression for everything except positions and lightmap UVs. Whole Mesh compression set per imported object overrides where vertex compression is set on objects. Everything else obeys these vertex compression settings.
Optimize Mesh Data Enable this option to remove any data from Meshes that is not required by the Material applied to them (such as tangents, normals, colors, and UVs).

Logging

Select what type of logging to allow in specific contexts.

Logging settings for iOS platforms
Logging settings for iOS platforms

Check one box that corresponds to each Log Type (Error, Assert, Warning, Log, and Exception) when running scripts (ScriptOnly) , all the time (Full), or never (None).

Legacy

Enable the Clamp BlendShapes (Deprecated) option to clamp the range of Blend Shape weights in SkinnedMeshRenderers.

Legacy settings for iOS platforms
Legacy settings for iOS platforms

XR Settings

XR Settings for the Standalone Player
XR Settings for the Standalone Player
設定 機能
Virtual Reality Supported バーチャルリアリティアプリケーションの場合、ここを有効にします。その後、必要な VR SDK をリストに加えます。
Virtual Reality SDKs Add and remove Virtual Reality SDKs from the list. This list is only available available when the Virtual Reality Supported is enabled.
To add an SDK to the list, click the plus (+) button.
To remove an SDK from the list, select it and then click the minus (-) button.
Some of the SDKs provide extra settings that appear here. For details, see XR SDKs.
Stereo Rendering Mode Choose how you want to render for a virtual reality device.
Multi Pass This is the normal rendering mode. Unity renders the Scene twice: first to render the left-eye image; and then again for the right-eye image.
Single Pass Render both eye images at the same time into one packed Render Texture. This means that the whole Scene is only rendered once, which significantly reduces CPU processing time.
Vuforia Augmented Reality Supported Enable this option to use Vuforia Augmented Reality SDK, which is required when using the Vuforia Virtual Reality SDK.

XR Support Installers

XR Settings for the Standalone Player
XR Settings for the Standalone Player

You can click the Vuforia Augmented Reality link to enable the Vuforia Software Development Kit. You must have a Vuforia Software License and agree to the terms of that license before the Vuforia Augmented Reality Supported property is enabled.



  • 2018–08–16 編集レビュー を行って修正されたページ

  • Mute Other Audio Sources は 5.5で追加

  • iOS Player Settings documentation updated in Unity 2018.1

  • Allow ‘unsafe’ Code checkbox added in Unity 2018.1

  • .NET 4.x runtime added in 2018.1

  • .Net 3.5 scripting runtime deprecated in Unity 2018.3 NewIn20183

  • Minimum iOS version increased to 9 in Unity 2018.3 NewIn20183

iOS ハードウェアガイド
iOS 2D テクスチャ オーバーライド