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
2
Question by x4000 · Jun 21, 2010 at 08:07 PM · builddebug

Debug Symbols without Development Build?

So, when I do a Development build of a game for the Windows platform, it generates a 36mb pdb file with a date of 11/30/2009. This is odd, because my actual C# dll itself is only 876kb. So I'd expect the pdb for that to be 4-5mb at absolute most.

In past .NET projects I have found it very helpful to do a release build with symbols included. I'm not paranoid about people stealing my code via the symbols, and having the symbols included allows for them to be loaded into memory upon a crash, and thus produce a handy line number of the crash report. This works out well for me, because any slowdown is pretty imperceptible, and I get super-accurate and helpful crash reports for when crashes do happen.

I'd like to set something similar up with Unity, but distributing 36mb of symbols with every beta version I put out would be a real bandwidth drain. Though, given the file date of those symbols, maybe they don't really need to be updated? I'm not entirely clear how all this is hooking together behind the scenes, given that this is Mono hosted inside a more native application.

Any suggestions, or info about how this works internally?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by mattbenic · Aug 20, 2014 at 09:48 AM

I know this is a few years on, but did you ever find a solution to this? I'm attempting to generate a pdb for our non-development build for exactly this reason (trying to diagnose a crash) and I'm not having much luck.

I was hoping to do the build manually in mono and changing the project settings, but it seems the actual exe generation happens in a way that's not really reproducible without the editor itself doing it. I mean, it should be, but Unity doesn't expose its actual mono build commandline parameters. I think they're copied into a temporary file during the build, and I haven't been able to grab any of those temp files quickly enough before Unity disposes of them.

Any info is appreciated :)

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

2 People are following this question.

avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

My brand new Galaxy S4 mini is not recognized 1 Answer

Scene white after building 1 Answer

Is there a way to see what unity is building as it builds. 0 Answers

Is there any way to view the console in a build? 7 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