• 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 PProductions · Oct 08, 2013 at 04:47 PM · crashwebplayerserverbrowser

Unity Web Player: Crashes

I have a unity web player hosted on a web server. When I play it locally the player loads fine, however, when the player is accessed from the web server it always crashes. The unity logo appears and the loading bar fills but after that it crashes out the whole browser.

To test that the crash was not part of my code I created a quick scene that consisted of a button. The unity test scene

The player wouldn't even load t$$anonymous$$s lightweight scene. What is wrong with the setup of my server or my code? I am at a complete loss.

Here is the stack trace from the error log:

 ========== OUTPUTING STACK TRACE ==================
 
 (0x0445B678) (webplayer_win): (filename not available): UnityWinWebStartData + 0x5029f
 (0x0BB75F6B) (Mono JIT code): (filename not available):  (wrapper managed-to-native) UnityEngine.Resources:Load (string,System.Type) + 0x2b (0BB75F40 0BB75F8F) [03BB4D20 - Unity C$$anonymous$$ld Domain] + 0x0
 (0x0BB75F2E) (Mono JIT code): (filename not available):  UnityEngine.Resources:Load (string) + 0x16 (0BB75F18 0BB75F33) [03BB4D20 - Unity C$$anonymous$$ld Domain] + 0x0
 (0x0BB74BF7) (Mono JIT code): (filename not available):  LoadClasses/$Start$53/$:MoveNext () + 0x67 (0BB74B90 0BB74E5D) [03BB4D20 - Unity C$$anonymous$$ld Domain] + 0x0
 (0x0BB74F39) (Mono JIT code): (filename not available):  (wrapper runtime-invoke) <Module>:runtime_invoke_bool__t$$anonymous$$s__ (object,intptr,intptr,intptr) + 0x41 (0BB74EF8 0BB74FA2) [03BB4D20 - Unity C$$anonymous$$ld Domain] + 0x0

And the log where the crash occurs:

 Direct3D:
     Version:  Direct3D 9.0c [nvd3dum.dll 9.18.13.1106]
     Renderer: NVIDIA GeForce GT 610
     Vendor:   NVIDIA
     VRAM:     1999 MB (via DXGI)
     Caps:     Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 DF24=0 INTZ=1 RAWZ=0 NULL=1 RESZ=0 SlowINTZ=0
 Begin MonoManager ReloadAssembly
 Platform assembly: C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\Data\lib\UnityEngine.dll (t$$anonymous$$s message is harmless)
 Non platform assembly: C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\Assembly-CSharp-firstpass.dll (t$$anonymous$$s message is harmless)
 Loading C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\Assembly-CSharp-firstpass.dll into Unity C$$anonymous$$ld Domain
 Non platform assembly: C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\Assembly-CSharp.dll (t$$anonymous$$s message is harmless)
 Loading C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\Assembly-CSharp.dll into Unity C$$anonymous$$ld Domain
 Non platform assembly: C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\Assembly-UnityScript.dll (t$$anonymous$$s message is harmless)
 Loading C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\Assembly-UnityScript.dll into Unity C$$anonymous$$ld Domain
 Non platform assembly: C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\Boo.Lang.dll (t$$anonymous$$s message is harmless)
 Loading C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\Boo.Lang.dll into Unity C$$anonymous$$ld Domain
 Non platform assembly: C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\System.Xml.dll (t$$anonymous$$s message is harmless)
 Loading C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\System.Xml.dll into Unity C$$anonymous$$ld Domain
 Non platform assembly: C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\UnityScript.Lang.dll (t$$anonymous$$s message is harmless)
 Loading C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\player\Stable3.x.x\UnityScript.Lang.dll into Unity C$$anonymous$$ld Domain
 - Completed reload, in  0.335 seconds
 <RI> Initializing input.
 
 <RI> Input initialized.
 
 desktop: 1366x768 60Hz; virtual: 1366x768 at 0,0
 Platform assembly: C:\Users\Nick\AppData\LocalLow\Unity\WebPlayer\mono\Stable3.x.x\Data\lib\System.dll (t$$anonymous$$s message is harmless)
 Crash!!!
 SymInit: Symbol-SearchPath: '.;C:\Users\Nick\AppData\Local\Google\Chrome\Application\30.0.1599.69;C:\Users\Nick\AppData\Local\Google\Chrome\Application;C:\Windows;C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Nick'
 OS-Version: 6.1.7601 (Service Pack 1) 0x300-0x1
 C:\Users\Nick\AppData\Local\Google\Chrome\Application\chrome.exe:chrome.exe (001B0000), size: 868352 (result: 0), SymType: '-exported-', PDB: 'C:\Users\Nick\AppData\Local\Google\Chrome\Application\chrome.exe', fileVersion: 30.0.1599.69

Thanks in advance :)

loadingscreen.jpg (25.1 kB)
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
0

Answer by MFen · Oct 08, 2013 at 04:51 PM

I've had the same issue when going to a web based server. The way I got around it is in the HTML file where it reads

 unityObject.embedUnity("unityPlayer", "WebPlayer.unity3d", 1286, 804);

change it to

 unityObject.embedUnity("unityPlayer", "WebPlayer.jpg", 1286, 804);

and then change your .unity3d extension to .jpg (it should ask are you sure you want to convert) say yes. Only do the above for when you are putting it on the web server.

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 PProductions · Oct 10, 2013 at 04:05 PM 0
Share

Is this similar to a mime type error?

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

16 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

Related Questions

Unity Webplayer crashing browser 0 Answers

Unity 3D Keep Crashing in every site! 1 Answer

IE only web player crash "Receiving unhandled exception / mono: exit called, code 1" 2 Answers

ChangeLog unity webplayer 3.4.2f3 1 Answer

Best Place to Share Webplayers Free? (Not Dropbox) 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