Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 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 wulveagfin · Jul 31, 2015 at 08:45 AM · androidunity 5build error

Upgrade from 5.0.1 to 5.1.2f1, can't build in android now

I upgraded from 5.0.1 to 5.1.2f1, can't build in android now. (Free Unity version)

when attempting to build in android I get the following:

IndexOutOfRangeException: Array index is out of range. UnityEditor.Android.PostProcessAndroidPlayer.CheckPluginsBundleIdForConflicts (System.String stagingArea, UnityEditor.Android.AndroidLibraries androidLibraries) UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316) UnityEditor.HostView:OnGUI()

I've searched the web and nothing.

I reloaded the 4 unitypackages I use, with their latest versions as of today: PUN+ from the unity store GooglePlayGamesPlugin-0.9.21.unitypackage Heyzap.unitypackage GoogleMobileAds.unitypackage

I deleted the library folder and had Unity rebuild EVERYTHING from scratch. Nothing.

This error references lines numbers in Unity's code itself so it's impossible for me to know exactly what it's complaining about. I can only assume it has something do with something in the android plugin's folder.

Android "other settings" people sometimes ask about on this board: Rendering path: forward automatic graphics api: false graphics api: OpenGLES2 multithreaded rendering: false static batching: true dynamic batching: true GPU Skinning: true VR Supported: false min api: 2.3.3 device filter: FAT api compatibility level: .net 2.0 subset

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by wulveagfin · Aug 02, 2015 at 06:25 PM

I downgraded to unity 5.0.4 and got everything to build.

Best I can tell it's a bug in the GooglePlayGamesPlugin-0.9.21.unitypackage package. I tried downgrading that package first but to no avail.

On a side note there are two improvements to Unity I would suggest:

  • That error message tells me nothing. It's probably on a try/catch that's there to catch all the errors that fall through other checks. It would be nice to have a more accurate error message as to what array/area of the code is breaking.

  • You all have had Apple's login ability integrated into the UnityEngine.SocialPlatforms namespace for a very long time now. But in order to log into Google's network I have to use a third party tool. Either the one on github mentioned above, or purchasing one off your store. Considering the popularity of Google it seems to be a huge oversight on Unity's part to not integrate this functionality immediately.

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

2 People are following this question.

avatar image avatar image

Related Questions

D8: Program type already present: com.facebook.unity.Constants 2 Answers

Parse push notification doesn't show 0 Answers

Where is the android graphics level setting? 1 Answer

My game crahses when I use it on a phone 0 Answers

how to enable Compute shaders for OpenGL ES 3.X in Unity 5.1.x? 1 Answer


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