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
0
Question by AlexGK · Dec 03, 2013 at 11:13 PM · c#c++

Unhandled exceptions while deploying on Visual Studio

Hello everyone:

On MonoDevelop, I get this kind of messages: http://img35.imageshack.us/img35/3395/0f99.png

I can play the game on the editor, no problems there. I'm also able to create a Visual Studio project (Windows Store app, type D3D11 C#, SDK 8.0). No compile errors, the build is created and deployed, but then some error messages pop up, like this one:

WinRT information: System.TypeLoadException: Could not load type 'UnityEngine.NetworkPlayer' from assembly 'UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

As a side note: I use Playmaker and NGUI for this project, and it did give trouble. But as I said, after a few fixes, there weren't any compile errors. I tried deleting any references to [System.Serializable] attribute (read about that in the forums, and it was pointed out as a possible solution), but NGUI elements started to disappear.

Any help?

Comment
Add comment · Show 9
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 xiy · Dec 03, 2013 at 11:39 PM 0
Share

Hmm. Could be a problem with the assembly not being loaded in the GAC. Can you run a command line under ad$$anonymous$$ and try this:

 gacutil /l UnityEngine
avatar image Julien-Lynge · Dec 04, 2013 at 12:08 AM 0
Share

What version of Unity are you using? What version of $$anonymous$$onoDevelop?

avatar image AlexGK · Dec 04, 2013 at 12:10 AM 0
Share

Seems like it isn't there:

The Global Assembly Cache contains the following assemblies: Number of items = 0

avatar image AlexGK · Dec 04, 2013 at 12:24 AM 0
Share

Unity version: 4.3 $$anonymous$$onoDevelop: 4.0

avatar image xiy · Dec 04, 2013 at 01:21 AM 0
Share

$$anonymous$$ake sure you're referencing the right DLL. Try re-adding the references to UnityEngine.dll etc.

The original DLL is in /Unity/Editor/Data/$$anonymous$$anaged/UnityEngine.dll

Show more comments

0 Replies

· Add your reply
  • Sort: 

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

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

Related Questions

Multiple Cars not working 1 Answer

A node in a childnode? 1 Answer

Should I go with C# and Unity or C++ and Unreal/Some other engine 0 Answers

Using swig to generate a C# wrapper from C++ 0 Answers

C++ windows DLL and Android? 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