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 /
avatar image
0
Question by John 6 · Apr 13, 2010 at 02:24 PM · performanceprofiling

Using PIX for profiling (non pro version)

While reading the community wiki I found out about PIX, but there isnt much info about how to use it in Unity around (the ms tutorials didnt help me much).

Does anyone know of a tutorial or how to use it? Or any other free profiling tool?

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 KvanteTore · Apr 13, 2010 at 06:10 PM 0
Share

Is there a reason you don't use the built in profiler?

avatar image John 6 · Apr 15, 2010 at 11:46 AM 0
Share

Well, as far as I know the built in profile works only on the pro version, isnt it?

avatar image qJake · May 03, 2010 at 10:42 PM 0
Share

He wants to profile using the free version of Unity, not pro.

avatar image taoa · Oct 07, 2010 at 07:44 AM 0
Share

Don't compare PIX with Unity's profiler, they are 2 very different things. Actually PIX is rather a debugger.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by taoa · Oct 07, 2010 at 07:43 AM

For PIX, you need to install the latest DirectX SDK (download it from Microsoft's website). Amongst its Utilities, you'll find PIX. Run it, configure it (basically give it your executable), choose how to capture a frame (I suggest the option 'press on the F12 key', change the key if you already use it in your game) and launch the whole stuff. Press your key on the frame you want to debug. As of understanding the information PIX will give you, I won't write a whole manual here. Just go on the Internet. Actually you could have found the info I just gave you there as well.

Comment
Add comment · Show 4 · 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 Santokes · Nov 01, 2011 at 11:39 PM 0
Share

This is a nice intro to PIX, but there's one crucial piece of information missing: how do you convert a .unity file into an .EXE file?

Like you said, PIX must be given an executable. I'm new to Unity (Pro) and all I have is a .unity file which the editor plays internally. So with this setup, how can I PIX my game?

avatar image Bunny83 · Nov 02, 2011 at 01:08 AM 0
Share

@Santokes: how about creating a standalone build? You could even try to "debug" the Unity editor while you run your game inside the editor, but the results might be different.

btw. What ".unity" file are you even talk about? A Unity project consists of a folder, not a single file. $$anonymous$$aybe you talk about a webbuild but that usually have the extention ".unity3d". Just create a standalone build. (I'll hope you don't try to dig into someone else's game... )

ps. If you have Unity pro i would recommend to use the build-in profiler. It's optimised for Unity and can show you detailed information about every script.

avatar image YeahTHATchucK · Oct 20, 2012 at 11:37 PM 0
Share

unity files are the scene files. You need to build your project to get an exe: File>Build Settings... then select your preferred platform - I presume windows standalone - and click the Build button.

avatar image psantoki · Jun 23, 2014 at 10:11 PM 0
Share

Old thread but wanted to thank you guys. I didn't know how to generate EXE files at first, once I figured that out everything went smooth. Thanks!

avatar image
0

Answer by indianalf · Aug 06, 2014 at 08:22 AM

i guess that pix wont provide any relevant information cause it need some debug definition such as D3DXSHADER_DEBUG in the player (or editor) which is not in the dev scope of most unity user including pro version till you do not build your own player with a native sdk ...

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Performance spikes 1 Answer

Unreasonable CPU consumption for server build with -nographics 0 Answers

Rotation Performance 2 Answers

Is there a way to tell what is being garbage collected? 1 Answer

Reading Profiler Results 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