• 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
5
Question by Joachim Ante · Jan 04, 2010 at 10:11 PM · profiler

How do I profile in the web player

I want to profile in the web player or standalone player? The Unity 2.6 release notes mention that this is possible.

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
5
Best Answer

Answer by Joachim Ante · Jan 04, 2010 at 10:19 PM

Make sure the development player is installed:

  • Webplayer: Make sure the development web player plugin is installed. The Development web player comes with the Unity installer (As opposed to just installing the web player). But if in the mean time you have autoupdated the web player it might have gotten lost. So make sure the latest development web player is installed. In the case of the standalone.
  • Standalone: Just select Development build in the build settings.

From scripting set the logFile path and enable the profiler: http://unity3d.com/support/documentation/ScriptReference/Profiler-enabled.html

Important Note: The log file path has to be an absolute path!

  • Run the player. The profiler will now output to a log file. This is a nicely formatted text file. This is definately not as nice as the UI profiling tools in the editor, but it gives you all the information at least.

  • --

    At some point in the future we might hook the editor up with the player so that you can Profile the player from within the nice Editor Profiler Window.

    (To test the logFile API, this feature can also be used from the Editor, although it's obviously not that useful there because you already have the full UI for it there)

    Comment
    Add comment · Show 1 · 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 yoyo · Feb 01, 2011 at 07:10 PM 0
    Share

    Note that the Profiler is a Pro-only feature, so this won't help you if you're running Unity Free.

    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

    No one has followed this question yet.

    Related Questions

    profiler fps vs. stats fps vs. Time.deltaTime 3 Answers

    Mono profiler hooking on Unity 2 Answers

    Batching instances of same model with same material... doesn't work 1 Answer

    Physics.Simulate is taking my 90% of GPU and CPU for A 2d GAME 1 Answer

    Low performance issue due to culling. How to turn it off? 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