Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
0
Question by davidrayking · Dec 21, 2015 at 03:25 PM · androidunity 5build-error

Problems after Open Unity 5 project with Unity 4

I accidentally opend a unity 5.x project with Unity 4.6, then Unity started an attemp to migrate that project. Trying to avoid this, I killed the Unity 4 process, opened my project in Unity 5 hoping nothing changed. At first everything seemed to be OK (code, objects, source files), but as I built my game for Android as always did, some scripts are not working, not errors shown but game is not behaving the same. I ran my project for pc, and it works perfect, but it is not the same for Android. What should I do to correct the problem? What would be the problem?

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

3 Replies

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

Answer by davidrayking · Dec 31, 2015 at 04:42 PM

I solved my problem, I realized all my tags disappeared as a result of my initial mistake, so I wrote all tags I'm using, and all is working perfectly. Thanks guys. What is weird is, as I was testing on Unity, no error was shown, everything seemed to be ok, that was confusing me.

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
avatar image
0

Answer by Dave-Carlile · Dec 21, 2015 at 04:16 PM

You should restore the project from your backup or source control.

Comment
Add comment · Show 2 · 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 davidrayking · Dec 21, 2015 at 05:19 PM 0
Share

Thanks for your answer, What do you mean source control? what if I have no backup for whatever reason?

avatar image Dave-Carlile davidrayking · Dec 21, 2015 at 07:08 PM 0
Share

If you have no backup then you may just be out of luck. You might try deleting the Library folder though - Unity caches things there and can rebuild it if it's not there. So delete that folder and try opening your project again.

Back it up first, and back it up often - daily at least.

avatar image
0

Answer by LukaKotar · Dec 21, 2015 at 08:00 PM

Try this:

  1. Rename the "Library" folder in your project (ex.: "Library_backup")

  2. Open your project in the version of Unity you want to use the project with (all your assets will re-import, and the Library folder will be re-built)

  3. Correct any code errors that may have appeared in the console due to previous upgrade to Unity 5

  4. Verify that your game works properly

  5. Optionally delete the previous Library folder you've renamed in step 1

Comment
Add comment · Show 2 · 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 Arshia001 · Dec 22, 2015 at 05:32 AM 0
Share

Visible meta files are your friend.

avatar image davidrayking · Dec 22, 2015 at 02:28 PM 0
Share

I tried deleting Library folder following what you posted, but its still behaving the same. I am thinking in open a new empty project and work in a new $$anonymous$$ain scene from scratch (I was trying to avoid this), and of course I will import scripts. Thanks!

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

48 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image 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

Google play services crash on start 2 Answers

Colors and functions change a lot when building to android 0 Answers

Error while saving blame file 6 Answers

The attribute meta-datattcom.google.android.gms.ads.APPLICATION JD@value=********** in :GoogleMobileAdsPlugin.androidlib collides with another value (See the Console for details) 0 Answers

Particle effect on collision? 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