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 /
  • Help Room /
avatar image
1
Question by robin-theilade · Dec 10, 2015 at 05:26 PM · visual studioassemblycompile

Problem compiling for Unity 5.3 with Visual Studio 2015

Up until now I've been able to write code and compile using Visual Studio and then copy the assemblies to the Unity project. However after updating to Unity 5.3 this no longer works for me.

Now when I use a Visual Studio compiled assembly in Unity I'm getting quite a few error log entries like this

 'Assets/UnityContrib/Assemblies/UnityContrib.UnityEngine.dll' shouldn't be queried by IsAssemblyCompatible, missing IsInternalOrCompiledAssembly check ?
  
 (Filename: C:/buildslave/unity/build/Editor/Src/AssetPipeline/MonoCompilationPipeline.cpp Line: 940)

I have not changed anything in the assembly itself.

This is the assembly https://github.com/UnityContrib/framework/releases/tag/2015.10.04.1459

Here is the log file from Unity after I've copied the assemblies to Unity: Editor.log.txt

I've tried the following target frameworks, without luck:

  • .NET Framework 3.5

  • .NET Framework 4.0

  • Unity 3.5 .net full Base Class Libraries

  • Unity 3.5 .net subset Base Class Libraries

Any ideas on how to continue to use Visual Studio as compiler?

editorlog.txt (109.4 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

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by robin-theilade · Nov 25, 2016 at 08:03 PM

Totally forgot asking this question. Here is the answer that applied to my case though. Unity engine didn't handle assembles named Something.UnityEngine.dll correctly back in version 5.3. It was fixed in 5.3.1.

Refer to this issue for more information https://issuetracker.unity3d.com/issues/plugins-dll-shouldnt-be-queried-by-isassemblycompatible-missing-isinternalorcompiledassembly-check

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

Answer by FatCatz · Nov 25, 2016 at 01:31 PM

I ran into the same exact problem. It was driving me nuts because my initial test run with a HelloWorld class worked. The solution for me was to give each assembly a name other then the default Assembly-CSharp and Assembly-CSharp-Editor. I also gave a default namespace that matched my class files...it was original blank.

Note I continued to use the Unity 3.5 .net Subset Base Class Libraries

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

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

Related Questions

assembly csharp error 0 Answers

PUN assembly conflict errors for UWP build specifically Hololens 2 0 Answers

My projects can't find each other in Visual Studio 0 Answers

Visual studio cannot find references to dlls from custom assembly definitions 2 Answers

How to get started with Azure Blobg Storage? (How to I add the correct namespace?) 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