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 /
This question was closed Feb 25, 2017 at 03:05 PM by Bunny83 for the following reason:

Question is off-topic or not relevant

avatar image
0
Question by JamesGameDev · Feb 14, 2017 at 12:23 AM · buildcrashdll

Why does my build keep crashing?

Hello Comm-Unity! I have finished creating a project, it is all done, so I build it. It builds fine, so I open the .exe file, and it goes through the splash screen and goes to the main menu. I then click a button to load a new scene, using the new UI system, and the whole thing crashes, giving me the following error reports (I attached them to this post). I can't make heads or tails of this, so any help would be appreciated.link text

output-log.txt (18.1 kB)
Comment
Add comment · Show 7
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 edcx · Feb 14, 2017 at 01:21 PM 0
Share

So, does your project works fine in the editor? Although I have no idea, I just want to say that I see some marshals and interops. Could it be that you are having data sharing problem between processes? I am also not sure why stack trace is not showing line numbers, maybe it is related to interops. Also, How do you change the scenes? What is your logic? $$anonymous$$aybe more info could be helpful.

Again, I have no idea right now =/

avatar image JamesGameDev edcx · Feb 14, 2017 at 11:49 PM 0
Share

Hi @edcx, Thanks for the quick reply. As for what I use to load the scenes, I have some UI buttons that activate functions like the following:

 public void LoadScene()
 {
          Application.LoadLevel("ThisIsAScene");
 }

One thing that might be influencing things is that I am using a .dll file I downloaded: $$anonymous$$icrosoft.Office.Interop.PowerPoint, but everything works in the editor, so.... Thanks for your help!

avatar image James2Games JamesGameDev · Feb 15, 2017 at 04:35 AM 0
Share

Since you're using an external library. Will be best to check the .net version of the library and compare it to the version you're building. Just a guess but you can try making a build without the library and see if it still crashes.

Show more comments
avatar image JamesGameDev · Feb 16, 2017 at 11:49 PM 0
Share

Okay, I tried uploading error.log, but apparently the forums won't let you post .log files, so here is the link to the error log:

https://drive.google.com/drive/folders/0B7CRWarXBC-GbENtV0tXRlJrdEk

Once again, thank you for your help.

avatar image Bunny83 · Feb 25, 2017 at 03:25 PM 0
Share

Please stop posting question about your Powerpoint integration problems. This is not related to Unity but most likely just a version incompatibility between the .NET / $$anonymous$$ono version Unity uses and the version that the Powerpoint wrappers require. It might even simply don't work with $$anonymous$$ono and only .NET. You posted already 4 or 5 questions all revolving around the same issue.

This time you didn't even mentioned that you trying to interop with $$anonymous$$S Powerpoint, yet the stacktrace clearly indicates a problem in the native / CO$$anonymous$$ wrapper. Specifically it crashes inside the $$anonymous$$icrosoft.Office.Interop.PowerPoint.ApplicationClass:get_Presentations method which is the getter of the "Presentations" property.

avatar image JamesGameDev Bunny83 · Feb 25, 2017 at 03:38 PM 0
Share

Dear @Bunny83, I am very sorry for being off-topic with my question, and you have actually helped me solve my issue, as I wasn't aware where the problem was. Because of this, I can now do research into the code of this method, and see what's going wrong with it. Once again, thank you, and sorry about all that. Have a nice day.

Cheers, Tiger27

2 Replies

  • Sort: 
avatar image
0

Answer by DSebJ · Feb 14, 2017 at 01:20 AM

When you made the build, there is an option to select what scenes are included in the build. If your game is crashing when changing scenes, you may not have selected to include that scene in the actual build.

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 JamesGameDev · Feb 14, 2017 at 12:12 PM 0
Share

Dear @DSebJ, Thanks for the quick reply, and the helpful suggestion, but unfortunately, that answer does not work, as I had all of my scenes included in the build, and checked for them to be included in the build settings. Thanks for your help, any other suggestions?

avatar image DSebJ JamesGameDev · Feb 14, 2017 at 01:14 PM 0
Share

Sorry, no other ideas. I'm assu$$anonymous$$g that this all works when you play it in the editor and you have no Errors in the console (Red exclamation marks)?

avatar image JamesGameDev DSebJ · Feb 14, 2017 at 11:47 PM 0
Share

@DSebJ, nope everything seems to run fine in the editor, no errors that I can see. It all runs smoothly in the editor.

avatar image
0

Answer by JamesGameDev · Feb 17, 2017 at 12:17 AM

Alright, I've, through trial and error, narrowed it down to one line of code:

 p.Presentation pre = app.Presentations.Add (MsoTriState.msoTrue);

But I can't for the life of me figure out what's wrong with it. It's the same as what I found online, and it works in the editor. Any ideas?

Update: So after analyzing the ouput_log.txt file, I've found that Unity is crashing when this above line of code tries to access Microsoft's symbol server, which apparently it is unable to do. Does anyone know how to fix that?

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

Follow this Question

Answers Answers and Comments

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

Related Questions

Distribute terrain in zones 3 Answers

Can't build error - dll is not allowed to be included or could not be found. 3 Answers

Jenkins android build launcher:mergeReleaseResources FAILED 0 Answers

Build game with dll does not work properly 0 Answers

Build error when using BooleanOps.dll 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