Customising WWW Requests on iOS
Troubleshooting on iOS devices
Features currently not supported by Unity iOS
Graphics
- DXT texture compression is not supported; use PVRTC formats instead. Please see the Texture2D Component page for more information.
- Rectangular textures can not be compressed to PVRTC formats.
- Movie Textures are not supported; use a full-screen streaming playback instead. Please see the Movie playback page for more information.
Audio
- Ogg audio compression is not supported. Ogg audio will be automatically converted to MP3 when you switch to iOS platform in the Editor. Please see the AudioClip Component page for more information about audio support in Unity iOS.
Scripting
- Dynamic features like Duck Typing are not supported. Use
#pragma strict
for your scripts to force the compiler to report dynamic features as errors.
- Video streaming via WWW class is not supported.
- FTP support by WWW class is limited.
Features Restricted to Unity iOS Pro License
- Splash-screen customization
External Libraries
It is recommended to minimize your references to external libraries, because 1 MB of .NET CIL code roughly translates to 3–4 MB of ARM code. For example, if your application references System.dll and System.Xml.dll then it means additional 6 MB of ARM code if stripping is not used. At some point application will reach limit when linker will have troubles linking the code. If you care a lot about application size you might find C# a more suitable language for your code as is has less dependencies than JavaScript.
Customising WWW Requests on iOS
Troubleshooting on iOS devices
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。