• 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
Question by Demonator7766 · Sep 09, 2016 at 10:33 AM · unity 5buildcrashapplication

Why does my unity app crash when built?

So ive been working on an app for a while now, and i always end up with the same issue in the end! ive been struggling endlessly with this issue and ive searched all over the internet for answers trying various things to fix the issue with no improvements. My game crashes on running the app, and only on the run. The app works 100 percent in the editor and infact it works somewhat when i run it. let me explain further. so apon running the built app i run into the following message ; "The game crashed. The crash report folder named '2016-09-09_121014' next to the game executable. It would be great if you'd sent it to the developer of the game', so ive taken a look at the error long and i always get the same issue which is " Read from location 00000000 caused an access violation." which i found out is a memory issue, So here is where it freaks me out , because if i just ignore the error message and open the app window, i can use the app and all of its functions without error. Back to the memory issue. Im running this game on a laptop that has an i5 processor 16gb of ram and 2 gtx 970 M graphics cards. I really shouldn't have any issues running almost any applications. Please help me ! if you need anymore info please email me at Demonator7765@gmail.com and ill gladly provide you with anything that might help. Thanks for your time. p.s im using unity 5.4.0f1.

Comment

People who like this

0 Show 0
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
Best Answer

Answer by Demonator7766 · Sep 09, 2016 at 03:50 PM

So i figured out the issue. The application was using more than my allocated amount of virtual memory so i simply increased the value and the app works now without crashes! thanks so much for your help TheDiamondPlay! Really appreciate it.

Comment

People who like this

0 Show 0 · 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

Answer by AurimasBlazulionis · Sep 09, 2016 at 11:19 AM

These issues tend to happen if something happens to get called infinite amount of times. For example a function gets called which instantly calls itself without any condition. If you happen to use VCS like Git, try to track back when the issue has started occuring.

Comment

People who like this

0 Show 5 · 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 Demonator7766 · Sep 09, 2016 at 11:23 AM 0
Share

Hey TheDiamondPlay Thanks for your reply. Ill have a look if i have some thinks like that running in my updates. But the app really isnt complex hence why im so frustrated with the issue. I read online that some people were having similar issues when using the windows.forms dll to use the openFileDialog. I was origionally using this but then i got a file browser asset from the asset store hoping that this would solve the issue but it didnt unfortunately.

avatar image AurimasBlazulionis Demonator7766 · Sep 09, 2016 at 11:48 AM 0
Share

I believe that asset could be using the exact same dll.

avatar image Demonator7766 AurimasBlazulionis · Sep 09, 2016 at 11:50 AM 0
Share

Its possible, but it said nothing about the dll being required in the readme files or anything. Ill go have another look through the file structures and check. Maybe adding it will solve my problem?

Show more comments

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

Unity 5.0.1 freezes on build - light transport 5 Answers

Can anyone tell me whether the webGL build sizes have improved or not for Unity 5.1? If so, by how much? 1 Answer

App will not appear on my iPhone! Help! 0 Answers

Can't build out to iOs10 from Unity 5.4.1 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