Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 colorfulKati · Aug 27, 2018 at 07:28 PM · unityeditorimportingupgradingtypeloadexception

Rewired: TypeLoadException after upgrade to version 1.1.19 (Unity 2017)

Hello!

I wanted to update Rewired to version 1.1.19.0 or higher because of the PlayerController functionality. When I try to import Rewired into Unity 2017, I first get loads of compile errors from ExternalTools. After I resolve these I go back to Unity and try to run the Installer. Nothing happens. Instead I get an error:

"System.TypeLoadException: Could not load type 'Rewired.ReInput' from assembly 'Rewired_Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'" This error happens everytime when the project is opened and when I click on an object that has a Rewired InputManager script on it ( in UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes() , also at Assets/Rewired/Internal/Scripts/Editor/CustomInspectors/CustomInspector_External.cs:19 and Assets/Rewired/Integration/UnityUI/RewiredStandaloneInputModule.cs:1108). I cannot access the InputManager anymore, which is a huge issue.

I tried the same in Unity 2018 - no issues there. I tried to fix the compiler errors in Unity 2018, exported Rewired from that project and imported it into Unity 2017, as I thought the exception might happen because the Installer wasn't able to run because of the compiler errors. This didn't help.

Steps to reproduce:

  1. Create new Unity 2017 project.

  2. Import Rewired version 1.1.19.0 or newer.

  3. Fix compiler errors in ExternalTools.

  4. TypeLoadException -> cannot run installer, cannot access InputManager

Is this a known issue, or is it possible that the new Rewired versions do not support Unity 2017?

Thank you for your support!

Cheers, Kati

(Tested in Unity 2017.3.0f3 (reproducible) and Unity 2018.1.0f2 (non-reproducible))

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 colorfulKati · Aug 28, 2018 at 08:04 AM

I finally fixed the problem. The issue was that the Rewired version I used was not downloaded in Unity 2017 but 2018, therefore it downloaded a Rewired version that only works in Unity 2018.

Downloading the Rewired package in Unity 2017 fixed the problem!

Have a nice day everyone!

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

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

Related Questions

How to fix TypeLoadException (EmguCV + Unity3d) 0 Answers

Import Project from Asset store 6 Answers

Extending Shuriken Particle System 1 Answer

Custom Window with Hierarchy 1 Answer

How to access Editor Script Functions like a regular Script? 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