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
4
Question by adam michaels · Jan 19, 2010 at 08:15 AM · webplayer

Is there a Log Output from the Web Player?

I am experiencing mysterious failures that occur only in web player. I have created my own set of plugin DLL's.

The last issue I debugged here was that I was attempting to do direct file access from Web Player, which threw and exception and caused a break in my program flow. This would have been easy to fix if I had a log output. Without it (or knowing of it), it took me all day to figure out the source of this problem. It was an easy fix once I determined the problem (via guess-and-try, guess-and-try, repeat, repeat .. all day).

In short, my question is this:

Is there a Web Player Log output that would give me better hints about errors/warnings/exceptions that are occurring inside Unity?

(I would like more diagnostic information in case of Web Player errors... any hints would be appreciated.)

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

5 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by Aras · Jan 19, 2010 at 09:01 AM

Yes, there is log output: documented here.

However, keep in mind that native (not .NET) Plugins are not available in web player for security reasons.

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

Answer by Skjalg · Sep 26, 2010 at 05:20 PM

Using Windows 7, while the game is running, I can find the specified log files named something like log_77a5ef08db7c0d449c791b1f05fe168d.txt under

C:\Users\Skjalg\AppData\Local\Temp\UnityWebPlayer\log
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 thienhaflash · Jul 30, 2014 at 09:05 AM 0
Share

Working for me, running Chrome

avatar image
-1

Answer by adam michaels · Jan 19, 2010 at 05:33 PM

I have tried to follow these instructions, but without success. I can find the specified path:

    C:\Users\valued guest\AppData\Local\Temp\Low\UnityWebPlayer\log

but this folder is empty. I have run my Unity application in both Chrome and IE7, but nothing seems to generate a log file. I have also checked the other "users" shown such as "Default", "Guest" and "Public" - but this path does not even exist for them. At least for "valued guest", I can find this folder just fine, but it's empty.

I am using Vista 64-bit Home edition, with IE7 (version 7.0.6001.18000).

Comment
Add comment · Show 2 · 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 Aras ♦♦ · Jan 19, 2010 at 08:00 PM 0
Share

Log files are deleted if you close the web content. So check them out while the game is still running (or copy them, etc.)

avatar image yoyo · Sep 12, 2011 at 11:32 PM 0
Share

(bump) We just realized we're not getting any log in the webplayer either, whether or not it is still running. Anyone else noticed this of late?

avatar image
0

Answer by JayFero · May 31, 2012 at 11:18 PM

No log in either folder. Webplayer is running in FireFox. It's not a permissions issue either.

\AppData\Local\Temp\UnityWebPlayer\Log \AppData\LocalLow\Unity\WebPlayer\

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
avatar image
0
Wiki

Answer by sooncat · Jun 01, 2012 at 01:57 AM

If you want show log messages on screen

try this

Or write your own tool by "Application.RegisterLogCallback()"

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

PlayerPrefs: force *Load*? 2 Answers

Detecting Webplayer's errors from Javascript 0 Answers

Flash vs Webplayer - Performance Investigation 1 Answer

Unity to Detect when computer goes into "Sleep Mode"? 2 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