GlitchEnzo / NuGetForUnity

A NuGet Package Manager for Unity
MIT License
3.19k stars 315 forks source link

Unity crashes on startUp after downloading Quickgraph #351

Closed Enough7 closed 1 year ago

Enough7 commented 4 years ago

Description

I needed QuickGraph in my project and was looking for a way to integrate a NugetPackage into Unity. I installed NuGetForUnity, restarted Unity (worked fine). Then I installed that NugetPackage QuickGraph and restarted Unity. Unity keeps crashing from now on. ump.log says:

[2020-10-22T13:52:58.320Z][INFO] Starting Server
[2020-10-22T13:52:58.330Z][INFO] Server started on port [49688]
[2020-10-22T13:52:59.015Z][INFO] Health Request received
[2020-10-22T13:52:59.187Z][WARN] Package folder [D:\Users\<name>\Dev\repos\<company>\<project>\Packages\Microsoft.CodeAnalysis.FxCopAnalyzers.2.9.8] missing package manifest.
[2020-10-22T13:52:59.187Z][WARN] Package folder [D:\Users\<name>\Dev\repos\<company>\<project>\Packages\Microsoft.CodeAnalysis.VersionCheckAnalyzer.2.9.8] missing package manifest.
[2020-10-22T13:52:59.187Z][WARN] Package folder [D:\Users\<name>\Dev\repos\<company>\<project>\Packages\Microsoft.CodeQuality.Analyzers.2.9.8] missing package manifest.
[2020-10-22T13:52:59.187Z][WARN] Package folder [D:\Users\<name>\Dev\repos\<company>\<project>\Packages\Microsoft.NetCore.Analyzers.2.9.8] missing package manifest.
[2020-10-22T13:52:59.187Z][WARN] Package folder [D:\Users\<name>\Dev\repos\<company>\<project>\Packages\Microsoft.NetFramework.Analyzers.2.9.8] missing package manifest.
[2020-10-22T13:52:59.188Z][INFO] Resolving dependencies using SAT solver
[2020-10-22T13:53:04.381Z][ERROR] [Unity Package Manager (Upm)]
Parent process [14420] was terminated

Editor.log says:

[Package Manager] Done registering packages in 0.00s seconds
Refreshing native plugins compatible for Editor in 29.98 ms, found 0 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
IsTimeToCheckForNewEditor: Update time 1603377512 current 1603374780
Initialize engine version: 2019.4.2f1 (20b4642a3455)
[Subsystems] Discovering subsystems at path F:/Program/Unity3D/2019.4.2f1/Editor/Data/Resources/UnitySubsystems
[Subsystems] Discovering subsystems at path D:/Users/<name>/Dev/repos/<company>/<project>/Assets
GfxDevice: creating device client; threaded=1
Direct3D:
    Version:  Direct3D 11.0 [level 11.1]
    Renderer: NVIDIA GeForce GTX 960 (ID=0x1401)
    Vendor:   
    VRAM:     4053 MB
    Driver:   27.21.14.5655
Initialize mono
Mono path[0] = 'F:/Program/Unity3D/2019.4.2f1/Editor/Data/Managed'
Mono path[1] = 'F:/Program/Unity3D/2019.4.2f1/Editor/Data/MonoBleedingEdge/lib/mono/unityjit'
Mono config path = 'F:/Program/Unity3D/2019.4.2f1/Editor/Data/MonoBleedingEdge/etc'
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56420
ImportWorker Server TCP listen port: 59343
Begin MonoManager ReloadAssembly
Registering precompiled unity dll's ...
Register platform support module: F:/Program/Unity3D/2019.4.2f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/UnityEditor.WindowsStandalone.Extensions.dll
Register platform support module: F:/Program/Unity3D/2019.4.2f1/Editor/Data/PlaybackEngines/WebGLSupport/UnityEditor.WebGL.Extensions.dll
Register platform support module: F:/Program/Unity3D/2019.4.2f1/Editor/Data/PlaybackEngines/MetroSupport/UnityEditor.UWP.Extensions.dll
Registered in 0.005512 seconds.
Native extension for WebGL target not found
Native extension for WindowsStandalone target not found
Refreshing native plugins compatible for Editor in 20.19 ms, found 0 plugins.
Preloading 0 native plugins for Editor in 0.00 ms.
Mono: successfully reloaded assembly
- Completed reload, in  1.297 seconds
Registering precompiled user dll's ...
Registered in 0.052479 seconds.
Platform modules already initialized, skipping
Validating Project structure ... 0.008230 seconds.
Shader import version has changed; will reimport all shaders...
Upgrading shader files ...0.007858 seconds.
Begin MonoManager ReloadAssembly
* Assertion: should not be reached at ..\mono\metadata\custom-attrs.c:2082
JoC0de commented 1 year ago

At the time this issue was created this package wasn't actively maintained. So sorry for eventual trouble. Now there are some new active contributors.

I can reproduce it but I see no way we can fix this. Seems like a Unity bug.