Hi all, I was told to cross-post here. The original post is here .
To summarise I’m having trouble installing “XR Plugin Management” when I install it and it says everything is ok. I go to Edit → Project Settings → But the XR tab is gone altogether.
I understand that this might be because of error, but I can’t understand why I get them.
How to reproduce:
- Create a new 3D project in Unity (2019.3.12f1)
(at this point I already get “Copying assembly from ‘Temp/UnityEngine.TestRunner.dll’ to ‘Library/ScriptAssemblies/UnityEngine.TestRunner.dll’ failed”)
- Remove ALL packages from Package Manager. At this point, I get no errors and I still have the “XR Plugin Management” tab.
- Install “XR Plugin Management” - Tab is gone and I get 2 errors (pic below).
What I’ve tried to fix this:
-
Uninstall Unity. Uninstall Unity Hub. Remove all folders and files that have Unity in their name or are connected to Unity in AppData/Roaming, AppData/Local, AppData/LocalLow. Remove all entries connected to Unity in the Registry Editor in all it’s HKEY folders. Restart my PC. Install. Basically a clean install of Unity.
-
Run “Malwarebytes” and quarantine any viruses. This was discussed in this post to fix my errors, but no luck.
-
A colleague created a project as I described. Installed “XR Plugin Management” and everything showed up for him. He even tested with Valve Index and it worked in VR. He zipped the project and sent it to me.
Unity kept crashing and not opening the project at all… (we had same unity version)
-
Created a dozen new projects while testing the above several times.
-
Maybe something else. I spent literally 10h debugging this yesterday until I burned out, so I might be forgetting 
What I haven’t tried:
Fully resetting my PC. Clean start as if it was freshly built.
Due to circumstances, this is also my work PC so I really don’t want to be setting everything up again if it’s not my only solution.
I’m attaching my current logs, but there are some old ones in the other post as well. If someone is super into helping me and wants to read a lot of logs 
I hope someone can provide assistance.
Thanks in advance,
Krigol
5816650–616063–Editor.txt (90.4 KB)
5816650–616066–Editor-prev.txt (192 KB)
5816650–616069–upm.txt (635 Bytes)
1 Like
As per joejo’s suggestion, cross-posting my addendum from the other thread.
Apart from Krigol’s bug, I think cases like this should be handled a lot more cleanly and helpfully by the PackageManager. e.g. Is there a reason the system can’t detect and report this?
I would expect - (via the “principle of least surprise”) - the installed-but-inactive items to have greyed-out text in the settings window, and when clicked you get a panel that says what’s gone wrong and what to do. Right now the behaviour is confusing and invisible, with no help given to the user.
Although a quick thought: what are the absolute paths to your project?
There are some fairly embarassing bugs in the UnityEditor right now where some API’s crash on things as simple as long filenames, long paths, filenames with characters Unity isn’t expecting, etc. Could be something like that?
EDIT: ah, ignore that - you’ve got very boring plain folder locations I can see from the logs 
But you’ve got lots of lines saying that your system can’t copy from “Temp”
Have you got security permissions setup straingely on your machine?
Or has your main drive with your system Temp folder run out of disk space?
Yeah, boring or not at least they are sorted and easy to access
“D:\Projects\Unity{Project Name}” is where I keep all my projects.
I haven’t changed anything about permissions. Windows defaults.
Still. I tried giving ALL Groups and users “Full access” and still the same problem.
I got 60Gb free on C: and 175Gb free on D: so I think it should have enough no matter where it tries to work.
What about things like anti-virus, Windows-10 anti-malware (it causes exactly this kind of error: blocks apps from accessing specific folders on hard drive).
Where is your Temp folder? Have you set a custom one in Unity? …in windows? etc. I don’t normally debug editor logs (usually only when I’ve done something dumb like created an infinite while loop and keep hanging the editor and need to find it), but it seems very suspicious that EVERY attempt to access your Temp folder is “failing”
Update, SOLVED: I managed to somewhat fix it. I created a second Windows User, and when logged into that user I can use Unity just fine 
It’s still a bit annoying to have to switch accounts, but I guess the problem is on me, so nothing Unity can do to fix this.
1 Like