Unity Ads Xcode 6.3.1 setUnityVersion crash - unity3d

I'm using the last version of UnityAds 1.1.4 with Unity 4.6.4f1. I have upgraded to Xcode 6.3.1 and I can build IOS version but when I'm running the game on the device I get the error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UnityAds setUnityVersion:]: unrecognized selector sent to instance 0x1c19f6d0'
This appears in UnityAdsUnityWrapper.m at line : [[UnityAds sharedInstance] setUnityVersion:unityVersion];
Everything was working before Xcode update and Unityads update

Unity Ads dev here. This is probably caused by a problem when upgrading the asset store package. You should remove all Unity Ads related files from your Unity project and reimport the package.

I had the same issue, this worked for me:
Search project with 'UnityAds' and delete every asset that is found
Delete Plugins/iOS/DeviceInfo.framework
Delete Editor/PostprocessBuildPlayer_DeviceInfo
Re-import newest version of UnityAds
I'm using XCode 6.3.1 & Unity 4.6.3f1

Related

Unity ads initialization failed: internal_error - unity ads sdk failed to initialize due to environment check failed

I'm having an error only when running on Android in unity.
This is the error:
Unity ads initialization failed: internal_error - unity ads sdk failed to initialize due to environment check failed
I used the correct keys to initialize my ads on android.
Does anybody know how to fix this?
This error is most likely due to an outdated version of the unity ads package.
Please try removing the current version you have and installing the latest through the unity package manager. Chances are you will need to update some code as there have been some breaking changes in the past.

"Failed to init OpenALSoundController" Monogame

how to fix Microsoft.Xna.Framework.Audio.NoAudioHardwareException: "Failed to init OpenALSoundController" and Microsoft.Xna.Framework.Audio.NoAudioHardwareException: "Failed to init OpenALSoundController", TypeInitializationException: The type initializer for 'MonoGame.OpenAL.AL' threw an exception? I try reinstall OpenAL, but nothing has changed.
Monogame version 3.8.0
Xna version 4.0
OpenAL version 3.05
I recently had this problem on Android. I updated to the latest developer build of MonoGame and that sorted out the issue. Also, to prevent the initial crash I used try{} catch{} on each of my sound file imports to prevent the game from crashing.

Playscape Unity Publishing Kit Error

I am integrating Playscape 1.11 SDK to my game in unity. I keep getting an error stating: An error occurred while applying post-build logic: failed to apply patch to the .jar file
I have checked to see if Android 19 and google-play-services are downloaded/installed in the SDK.
Looks like some files were missed. Check that you have removed all previous files of Playscape SDK before importing new version into your Unity project:
/Assets/Plugins/Android/PlayscapeManifestFragments
/Assets/Plugins/Android/PlayscapePublishingKit
/Assets/Plugins/Playscape
/Assets/Temp
/Assets/StreamingAssets/fonts
/Assets/StreamingAssets/level_up_icons
/Assets/StreamingAssets/playscape
/Assets/StreamingAssets/playscape_bootstrap
/Assets/StreamingAssets/WelcomeMessage

Facebook Unity SDK and Unity 4.3 have a conflicting instance method 'openURL' on iOS

I had Facebook Unity SDK working in my game prototype until I updated to Unity 4.3. After the update build fails on dSYM generation in xCode. Error message:
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil failed with exit code 11
Most notably before the final error message above I get this warning:
ld: warning: instance method 'application:openURL:sourceApplication:annotation:' in category from /Users//Library/Developer/Xcode/DerivedData/Unity-iPhone-duxgtdhujpdgtjbanfxzqinkvybw/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/FbUnityInterface.o overrides method from class in /Users//Library/Developer/Xcode/DerivedData/Unity-iPhone-duxgtdhujpdgtjbanfxzqinkvybw/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/UnityAppController.o
I investigated this a bit and yes, it seems that both UnityAppController.mm and FbUnityInterface.mm define "openURL" method and that's what xCode doesn't like. I also checked the iOS build that I had worked with on earlier (4.2.x) Unity version and in that build Unity did not define openURL-method in any of its .mm files.
Version Info:
Facebook Unity SDK Version 4.3.4
Unity Editor Version 4.3 (Pro)
Xcode 5.0.2
Changes vs Unity xCode project default configuration:
Added the frameworks that AdMob requires
Added linker flag "-ObjC" that AdMob requires (Build Settings -> Other Linker Flags)
I tested linking without the "-ObjC" flag also. Result is the same. Any ideas on how to fix this?
-tomi
I ran into the same problem but only building with debugging enabled in Build Options. Turn off debugging and you get past it. Or, BuildOptions.None in your build pipeline.
Of course, no debugging ...
We just released version 4.3.6 of the sdk that fixes login with unity version 4.3. It's available at https://developers.facebook.com/

Unable to run AngryBots.unity

I am trying to run the Unity example Angry Bots but I am getting the following error:
Assets/Standard assets/Camera Scripts/SmoothFollow.js(32,9): BCE0005: Unknown identifier: 'wantedRotationAngle'.
I am using Unity Version 3.5.0f5
I have tried redownloading/importing the project from the Asset Store but I am still getting the error.
Here is a screen shot:
An upgrade to Unity 4.0.1 fixed this issue.