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
1
Question by dalziel · Jan 11, 2013 at 04:24 PM · loadlevelbuildsettings

LoadLevel failed but the level exist in BuildSettings on Android

Hi,

Just wonder if anyone has this issue where LoadLevel complains that the level does not exist in Build Settings?

I have the scene added into build settings but it just does not load on Android. It is fine on editor and iOS build. It did work on android before but i just couldn't figure out what did I change that could make this happen.

Here are the stuff i tried before posting this questioin: 1. Removed all scenes from build settings and just build that one level. It works. 2. Add in a MainMenu scene which has a button to load in Level1 using LoadLevel("Level1"). Failed. 3. Add in MainMenu scene and load Level1 using LoadLevel(1). Failed.

It seems like whenever it tries to load in Level1, it would just fail.

-DL

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

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by dalziel · Feb 26, 2013 at 10:22 AM

This turns out to be caused by split binaries.

Comment
Add comment · Show 3 · 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 BarryNorthern · Feb 26, 2013 at 10:37 AM 0
Share

Ah, I remember ticking that split binaries box at the same time as setting the api level actually. Thanks for clearing this up.

avatar image Bunny83 · Feb 26, 2013 at 10:55 AM 0
Share

http://docs.unity3d.com/Documentation/$$anonymous$$anual/android-OBBsupport.html

avatar image devin8 · Mar 31, 2013 at 05:13 PM 0
Share

Did anyone find the solution. I have to use expansion files with my apk but unity can't find my Levels.

avatar image
0

Answer by BarryNorthern · Feb 26, 2013 at 09:24 AM

Are you sure you're using the correct Minimum API Level in the Android Build Settings? I had exactly the problem you describe and resolved it by setting the Minimum API Level to Android 2.3.3, which I guess was more compatible with the latest version of the Android SDK that I had downloaded.

NOTE: This is not the solution, see Daziel's answer about Split Binaries

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 047 · Oct 26, 2015 at 02:46 AM 0
Share

Actually this is IT !

I have tried all the other answers , nothing worked ! I changed the version of the android that i'm building for to 4.0 , and now BOO$$anonymous$$ ! everything works fine , even some other problems i had is now gone !!

Thanks man ! that IS the solution !

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

12 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

Related Questions

Unity crash, no one is call the function but it show up to the party anyways 0 Answers

Rotation stops when reload scene 1 Answer

Smooth scene transition issue - Async Operation 1 Answer

Spawn menu on Level Load 3 Answers

How do I change scenes from triggers in UNity 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