• 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
Question by Christian.Tucker · Feb 28, 2014 at 08:02 AM · smartfox

Internal Compiler Error :/

I'm trying to load the SmartFox DLL, but it's being lame.

 Internal compiler error. See the console log for more information. output was:
 Unhandled Exception: Mono.CSharp.InternalErrorException: Assets/_Scripts/Networking/NetworkingClient.cs(6,14): NetworkingClient ---> Mono.CSharp.InternalErrorException: Assets/_Scripts/Networking/NetworkingClient.cs(8,18): NetworkingClient.s ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

Not sure, but I feel like I'm using .Net 4.0 because of the "Version=4.0.0.0" line and I can't figure out how to change it.

Error is on line: public class NetworkingClient : MonoBehaviour {

Line that causes error: SmartFox s;

Full Script to deduct error: using UnityEngine; using System.Collections; using Sfs2X; using Sfs2X.Core;

 public class NetworkingClient : MonoBehaviour {
 
     SmartFox s;
 
     // Use this for initialization
     void Start () {
     
     }
     
     // Update is called once per frame
     void Update () {
     
     }
 }
 
Comment

People who like this

0 Show 2
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 Benproductions1 · Feb 28, 2014 at 09:42 AM 0
Share

Are you certain there are no scripts in your project? The Unity-engine is pre-compiled, so I don't see how you can get an internal compiler error without any scripts.

avatar image Christian.Tucker · Feb 28, 2014 at 04:13 PM 0
Share

Question Updated. Fixed the first error.

2 Replies

· Add your reply
  • Sort: 
avatar image

Answer by huntsfromshadow · Feb 28, 2014 at 04:52 PM

Okay I don't know SmartFox but lets go through the basics for troubleshooting.

1 - Do you have the player set on .net or .net subset? It looks like smartfox is trying to access System.IO with the .net subset does not allow.

2 - If this is a precompiled .lib does it need to be in a plugin directory? And does it require Pro?

Comment

People who like this

0 Show 0 · 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

Answer by vietmillion · Sep 03, 2014 at 12:12 PM

i see the answer of Ethan in this thread : http://stackoverflow.com/a/23257817/4003916

Comment

People who like this

0 Show 0 · 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.

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

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

Related Questions

spawning next player when the character generator has finished 1 Answer

SmartFox SFSEvent.CONNECTION isn't calling 1 Answer

Parse string object from SmartFoxServer 1 Answer

Chat window not displayed 1 Answer

Smartfox Usernames? 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