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 /
avatar image
1
Question by dCalle · May 13, 2018 at 12:36 PM · libraryplayersettings.net-assembliesmanaged

To what version does Unity update a managed Library?

Thing is: I don't know which framework to use. Since I switched to Rider I have a range of frameworks to choose from. so I went for .net standard 2.0. which with some option in Unity Player Settings worked fine without updating it.


Having switched to another Game/Project the same settings don't work here anymore. Unity always tells me it wants to update the library, which to me means not updating the mdb, hence giving me errorlines that have absolutely nothing to do with the issue (oftentimes redirecting me to a closing curly bracket.


So If anyone here knows which options in the Player settings to combine with which version of the library, that'd be great, since the Unity API Updater doesn't actually tell me which version it prefers.


Thanks in advance. This whole mdb not being created or always having to use pdb2mdb.exe (which also doesn't work now, because the API Updater doesn't create a pdb for me to create a mdb from) has been a pain in the ass for way too long. And they just didn't change anything for the last couple of months and are not about to now.


So please, someone... help me

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
1
Best Answer

Answer by dCalle · May 15, 2018 at 08:11 AM

Alright, it loooks like I got it all wrong. after reading this...

API Updater Manual

Still, it would be great if there was an option to point out what actually could be updated, to let me do it manually and learn something on the way...

also I think the updater doesn't create its own mdb file, right?

Anyways. Answer is: For The API Updater it doesn't matter which framework version you're using, it just checks for obsolete code and updates it...

Comment
Add comment · Show 2 · 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 Bunny83 · May 15, 2018 at 10:58 AM 1
Share

Yes, you got it right. However the API Updater as far as i know only updates script files, not already compiled assemblies (I may be wrong here). If you're asked if you want to update and you choose "no" you should get some error / warning messages in the console. Though I'm not sure if this works for compiled assemblies. The best way to solve obsolete API usages in external libraries would be to create a new temporary Unity project, copy all your library source files into that empty project and see if the updater can fix the problems. At least if you choose "no" you should get proper line numbers and file references in the errors. Once everything is fixed, just copy the files back into your library project and recompile your library again.


Btw: Have you heard about the Assembly Definition Files? It would allow you to actually place the source files of an assembly inside Unity and have them to be compiled to a seperate assembly by Unity. As long as no changes are made to an assembly source file it should not be recompiled. Note that Assembly Definition Files are not seperate projects. They are just a way to split your source files into several logical units.

avatar image dCalle · May 15, 2018 at 02:30 PM 0
Share

Hey Buddy, how' you doing? ;-)

yeah I used that library as mentioned in the link. But I use it for a couple of different Projects to figure out their use cases, errors and what would be nice to have next.

I actually do not have an own Unity project for that. Thought I could fix everything just on the run. But you are right, it is getting tedious compiling everything and putting it into the plugin folder every time you change something in your script...

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

81 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 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 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

How do I reference components inside a managed .dll? 1 Answer

How do I use a C# dll library from a script? 2 Answers

Unity 2018.3 only LOW managed stripping level available. 1 Answer

But the dll is not allowed to be included or could not be found. 0 Answers

Error occured performing webclient request. Application runs in editor but fails in standalone player 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