iPhone.generation not available in beta 12?

Hi there,

I get the following error message:
Assets/Plugins/AdMobIOS/demo/AdMobGUIManager.cs(34,28): error CS0117: UnityEngine.iPhone' does not contain a definition for generation’

This is the prime 31 admob plugin.

Any suggestions?

Hi, the class iPhone has been renamed to UnityEngine.iOS.Device

Probably you got an compiler error explaining that

When you open your project in 5.0 did you see a dialog asking if you want to update your scripts / assemblies automatically?

Best

Adriano

I opened the project and after that I imported the plugin files.
So I wasn’t ask if I want to update the scripts.

Is there an updated documentation for Unity 5?

When you imported the plugin Unity should have asked whether you wanted to update its scripts / assemblies.

Can you reproduce this behavior (Unity not asking to update scripts with obsolete, upgradable, API) ?

Adriano

I purchased the prime 31 admob ios and storekit plugin.
When I import these plugins Unity doesn’t ask me whether the scripts should be updated.
I can see an error message in the console but no update question…

Can you send me the editor log? (you can send it to mail email if you prefer: adriano at you know the rest :slight_smile:

I am having the same problem with a vuforia project …I clicked on update automatically which I guess was the problem…?
thank you for your help!

Hi relosser,

the automatic updater is supposed to fix these issues

Please, file an issue (with the simplest possible project that reproduces the behaviour attached)

Adriano