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 /
  • Help Room /
avatar image
1
Question by ciaratamay · Nov 03, 2019 at 06:52 PM · editoreditorwindowbugsassemblyassemblies

projects corrupted: Copying assembly.....UnityEngine.TestRunner.dll' failed

A few days ago I switched from editing a script in Visual Studio back to Unity (2019.2.10), using HDRP which crashed Unity - when I opened the project again, only a few items in my scene were visible at all, with pink error materials, most items were not visible in the scene and all references to any scripts showed missing script / not monobehaviour.

In the console, I have these two errors:

Copying assembly from 'Temp/UnityEngine.UI.dll' to 'Library/ScriptAssemblies/UnityEngine.UI.dll' failed

Copying assembly from 'Temp/UnityEngine.TestRunner.dll' to 'Library/ScriptAssemblies/UnityEngine.TestRunner.dll' failed



I tried reinstalling unity, installing a newer version (unity 2019.2.10 to 2019.2.11, also tried with latest Beta) and have same issue and errors with the project folder. I have a backup folder from a week ago, which when I open it on the same PC results in the same error - I also see that the \Library\ScriptAssemblies folder becomes empty after being opened in unity on this PC. I've tried copy pasting everything from that folder back in after opening, no change.



I opened the backup folder on a different PC with 2019.2.11 and was able to open it as normal - however the folder that appears to have been corrupted on the other PC results in the same issue on either PC.

It appears that opening any of my projects (pre-crash and post-crash) results in them being irretrievably corrupted on my main desktop - my other laptop can run a pre-crash project no problem, but that laptop is not good enough to run VR, so I can't use it for developing this project.

I've tried all of the fixes provided by other users here: Nothing works at all:

  • I have already uninstalled and deleted both versions of Unity, looked for key in registry (found nothing), deleted everything in a unity folder in appdata folder

  • tried reimporting all assets, resetting packages to default

  • I have also tried disabling antivirus, scanning for viruses, (found a bit miner but still having same problem)

  • ensuring I have full admin control of the folders in my project

  • deleting temp folders

  • starting a new project and importing a custom package that I exported which included most of the assets in my project, (scripts, scene, models, prefabs)- importing the asset package causes the same issue (on my desktop, not on my laptop.)

  • opening visual studio and editing a script then going back to unity, no change.

  • I'm not using collaborate or multiplayer package.

  • The problem never goes away by restarting unity

  • List item



My next option is to reinstall windows, but as I seem to have removed unity fully already I don't know will this definitely fix things - if anyone has any other solutions please help! I have filed a bug report also.

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
1

Answer by NathanChechock · Apr 23, 2020 at 02:31 AM

hey ciaratamay, I'm having the same issue. hoping it worked out for you in the end. and how did you fix it. iv had it one other time and had to re format.

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 meta_monkey · May 20, 2020 at 05:33 PM

Did this ever get solved? Unity, where you at?

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

228 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 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 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 Undo a bool on an EditorWindow 1 Answer

OnPreviewGUI for Canvas and UI Elements 0 Answers

Unity Android Build Publishing Settings are not saved When changed with Preset or by script 0 Answers

Unity Editor: Node window and Node Manage Window 0 Answers

GUI.Window. Wanting to allow clickthrough 0 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