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
1
Question by TheSaviour · Aug 23, 2016 at 10:27 AM · editorbuildfilesexecution

Game working perfectly in editor but not in build?

I tested my game in the editor and the scripts work fine. But after I build the game and import it into my Android device, some of the scripts do not even work. I've looked at solutions and they all say to check "output_log.txt" that should be located in the [mygamename]_Data folder. However, after I build my game, I can't find the [mygamename]_Data folder. The folder where the build is located only has the .apk file and that's it. There's nothing else there.

Comment
Add comment · Show 4
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 tanoshimi · Aug 23, 2016 at 10:31 AM 2
Share

I'm not sure what all the solutions you've been reading are, but they're all wrong. For Android debugging, you should be using logcat. There's plenty of documentation about - here's one start guide: http://forum.unity3d.com/threads/any-tips-for-debugging-android.70197/

avatar image TheSaviour · Aug 24, 2016 at 05:35 AM 0
Share
@tanoshimi But how do I solve the problem? Usually when I built my game to test it, it always worked properly on my Android device. But just recently I added some new things to the script. When I tested it in the editor, it worked fine. But when I tested it after build, some of the other scripts didn't work. So I removed the newly added lines from the script and checked if it works. Same problem. The game worked perfectly in the editor but some of the scripts didn't work after build. I tried un-installing Unity and re-installing the latest version. But the problem is still there. Works fine in the editor but not after build. I have no idea what's going on.
avatar image tanoshimi TheSaviour · Aug 24, 2016 at 06:07 AM 0
Share

That's precisely why you need logcat - so that you do have an idea what's going on. It's very hard to solve a problem until you know what the problem is...

avatar image CrookedGrandma · Jan 25, 2017 at 08:16 AM 0
Share

Very curious as well, would love an answer!

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by nharis7 · Sep 26, 2016 at 04:10 PM

I also have the same problem and i also checked logcats and it gives no error ... if you found the solution kindly share it with me @TheSaviour
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

65 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 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

Why are my textures misaligned in the standalone build? 1 Answer

Why does my shoot script break when I build the game 0 Answers

Switch Platform happens when Target Platform changed before Switch Platform button press 0 Answers

How to change the project's Splash Image in a build? 0 Answers

Controls do not transfer from Editor to Build 0 Answers


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