Bugs (probably) in Unity 5.2.0f3 iOS (Mono)

  • Application.version returns “0” on iOS devices. It leads to a terrible outcome that the CFBundleVersion field in the exported Xcode project’s info.plist file always has a zero value.
  • When a WWW is created and used to load a file in the persistent data path whereas the file doesn’t exist, the WWW will wait for ever. No error is thrown at all.

Am I supposed to move from Mono to IL2CPP now? Our project is still under development.

Update: After switching to IL2CPP, I encounter the following link error in Xcode with neither of the above issues fixed:

Undefined symbols for architecture arm64:

“Register__ShaderVariant_Internal_CheckVariant()”, referenced from:

RegisterAllStrippedInternalCalls() in UnityICallRegistration.o

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Are these known issues to be fixed in near future patches or am I doing something in the wrong way? Thanks.

Regarding #2 - this is a known issue (will be resolved in the next patch).
In the meantime you can use the workaround described here: http://www.tallior.com/workaround-for-www-yield-bug/

Thanks, liortal. Besides, don’t you think the other 2 issues are also quite severe and need to be fixed ASAP?

Issue #2 should be resolved now with 5.2p1 (get it here: https://unity3d.com/unity/qa/patch-releases)

Got it, but seems the Application.version still returns “0”. And the IL2CPP error is still there, too. :frowning:

you can’t have it all :slight_smile:

I just wonder whether these 2 issues are to be fixed in near future…

did u report those ?

I’ll try.

I submitted issues but I also found duplicates of the IL2CPP thing…

Try 5.2.1 release

Thanks, but for which issue? or all the 3 issues I mentioned?