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
0
Question by Niezck · Dec 01, 2015 at 02:38 PM · visual studiopluginsunity 5.2

Using IronPython with Unity 5.2

So I've been trying to get IronPython to work with Unity 5.2 such that I can call external IP scripts from within a scene to be executed (in this case, mapgen scripts which enable modding by the user).

I've read basically every post there is to read about this subject, but I'm struggling a litle. I've got multiple versions of IronPython - for .NET 2.0, 3.5, 4.0 and 4.5 all ready to go with associated Microsoft libraries.

The 2.0 version, when adding the relevant .dll files to Projects/Assets/Plugins/Resources/ gives me compatability errors with .NET 3.5, so I assume that's the version to be using.

When using .NET 3.5 the scripts themselves compile perfectly within Visual Studio but my scene won't run and my project won't build within the Unity editor with the following error (see below). Googling for this error gives me a lot of quite vague answers that aren't very specific or imply problems within the DLLs themselves, but that isn't really something I can control in this case.

Any ideas?

Error message is at http://pastebin.com/6meVdiLz as it's quite huge.

Comment
Add comment · Show 1
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 AlejoLab · Feb 28, 2016 at 03:20 AM 0
Share

I had a similar error (not sure if it's the same). I managed to make it work by setting API compatibility level to NET 2.0 (ins$$anonymous$$d of NET 2.0 Subset) in player settings.

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

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

Dubugging in Visual Studio 2015, Unity 5.2 0 Answers

unity 5.2 plugin integration issue 1 Answer

Git on Visual Studio doesn't sync Unity plugins 0 Answers

How to get started with Azure Blobg Storage? (How to I add the correct namespace?) 1 Answer

Lost IntelliSence in Visual Studio on Mac 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