Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Titus · Dec 18, 2012 at 02:31 AM · ioscrashassetbundlewwwunity4

WWW Crashing on IOS 4.3.3 for unity4

There is an serious bug resulting game crash while loading an AssetBundle by WWW www = new WWW(url) ; We have purchased Unity 4.0 and hope anyone can support us for our project.

The project is build in the Unity 4.0, it runs well on IOS 5.0+, but it crash on IOS 4.3.3 and IOS 4.3.5(compiled with xcode 4.5.1). We have tested with the official AssetBundles example, and the official example also crashed on iOS 4.X version

The error logs as follows:

 terminate called after throwing an instance of 'NSException'
 
 
 
 2012-12-17 17:47:23.442 shootingrpg01[497:607] -[NSURLResponse allHeaderFields]: unrecognized selector sent to instance 0x112e920
 2012-12-17 17:47:23.527 shootingrpg01[497:607] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSURLResponse allHeaderFields]: unrecognized selector sent to instance 0x112e920'
 *** Call stack at first throw:
 (
     0   CoreFoundation                      0x368fd64f __exceptionPreprocess + 114
     1   libobjc.A.dylib                     0x30e1bc5d objc_exception_throw + 24
     2   CoreFoundation                      0x369011bf -[NSObject(NSObject) doesNotRecognizeSelector:] + 102
     3   CoreFoundation                      0x36900649 ___forwarding___ + 508
     4   CoreFoundation                      0x36877180 _CF_forwarding_prep_0 + 48
     5   shootingrpg01                       0x002af79c -[ConnectionDelegate connection:didReceiveResponse:] + 44
     6   Foundation                          0x3422f237 -[NSURLConnection(NSURLConnectionReallyInternal) sendDidReceiveResponse:] + 90
     7   Foundation                          0x3422f13f _NSURLConnectionDidReceiveResponse + 86
     8   CFNetwork                           0x364c657d _ZN19URLConnectionClient29_clientSendDidReceiveResponseEP14_CFURLResponsePNS_26ClientConnectionEventQueueE + 52
     9   CFNetwork                           0x364bbfb5 _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 212
     10  CFNetwork                           0x364bc0cd _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 492
     11  CFNetwork                           0x364bbe37 _ZN19URLConnectionClient13processEventsEv + 70
     12  CFNetwork                           0x364bbde9 _ZN13URLConnection24multiplexerClientPerformEP18RunLoopMultiplexer + 36
     13  CFNetwork                           0x364bbd5b _ZN17MultiplexerSource7performEv + 126
     14  CFNetwork                           0x364bbcd9 _ZN17MultiplexerSource8_performEPv + 8
     15  CoreFoundation                      0x368d4a79 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
     16  CoreFoundation                      0x368d675f __CFRunLoopDoSources0 + 382
     17  CoreFoundation                      0x368d74eb __CFRunLoopRun + 230
     18  CoreFoundation                      0x36867ec3 CFRunLoopRunSpecific + 230
     19  CoreFoundation                      0x36867dcb CFRunLoopRunInMode + 58
     20  GraphicsServices                    0x3165c41f GSEventRunModal + 114
     21  GraphicsServices                    0x3165c4cb GSEventRun + 62
     22  UIKit                               0x3362bd69 -[UIApplication _run] + 404
     23  UIKit                               0x33629807 UIApplicationMain + 670
     24  shootingrpg01                       0x00005764 main + 160
     25  shootingrpg01                       0x00003a28 start + 40
 )
 terminate called after throwing an instance of 'NSException'
 

This problem is very frustrating, Is there anyway to solve this?

Thanks in advance.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by rudolpho · Jan 24, 2013 at 09:18 PM

We have exactly the same problem, did you manage to solve this? Thanks

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rudolpho · Jan 25, 2013 at 04:03 PM 0
Share

Ok, updated to Unity 4.0.1 and it works fine :-)

avatar image
0

Answer by Graham-Dunnett · Jan 24, 2013 at 09:48 PM

http://stackoverflow.com/questions/3585450/three20-image-from-file-folder ?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Titus · Feb 04, 2013 at 12:49 PM

fixed in unity 4.0.1

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Landern · Feb 04, 2013 at 01:45 PM 0
Share

Specifically this line in the 4.0.1 release notes(http://unity3d.com/unity/whats-new/unity-4.0.1):

iOS: fix WWW class crash when loading files via file:// on iOS 4.x devices

avatar image
0

Answer by plolley · Oct 27, 2019 at 08:26 PM

I had the same problem and it was because of too many '/' characters when loading 'file://' URIs on iOS.

This page helped: https://docs.unity3d.com/ScriptReference/WWW.html

Notes http://, https:// and file:// protocols are supported on iPhone. ftp:// protocol support is limited to anonymous downloads only. Other protocols are not supported.

Note: When using file protocol on Windows and Windows Store Apps for accessing local files, you have to specify file:/// (with three slashes).

Thanks! :)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

13 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Crash on iOS after upgrading to Unity 4 1 Answer

On-Demand Resource iOS/Android - AssetBundles 1 Answer

AssetBundle won't download on iPad 0 Answers

IL2CPP Crash on Instantiate(gameObject) 2 Answers

webplayer crash when use www download assetbundle 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges