Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutOfMemoryExceptions after import #1

Open
slimshader opened this issue Mar 31, 2020 · 2 comments
Open

OutOfMemoryExceptions after import #1

slimshader opened this issue Mar 31, 2020 · 2 comments

Comments

@slimshader
Copy link

slimshader commented Mar 31, 2020

Hi, I am getting an OutOfMemoryException every time a change is made to any of the scripts after I imported Asset/Plugins from the repo to my project.

System.OutOfMemoryException: Out of memory
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at Microsoft.Cci.Pdb.MsfDirectory..ctor (Microsoft.Cci.Pdb.PdbReader reader, Microsoft.Cci.Pdb.PdbFileHeader head, Microsoft.Cci.Pdb.BitAccess bits) [0x000a5] in <65770e854e88462999d77d9b5ba154b6>:0 
  at Microsoft.Cci.Pdb.PdbFile.LoadFunctions (System.IO.Stream read, System.Collections.Generic.Dictionary`2[System.UInt32,Microsoft.Cci.Pdb.PdbTokenLine]& tokenToSourceMapping, System.String& sourceServerData, System.Int32& age, System.Guid& guid) [0x00027] in <65770e854e88462999d77d9b5ba154b6>:0 
  at Mono.Cecil.Pdb.PdbReader.PopulateFunctions () [0x00008] in <65770e854e88462999d77d9b5ba154b6>:0 
  at Mono.Cecil.Pdb.PdbReader.ProcessDebugHeader (Mono.Cecil.Cil.ImageDebugDirectory directory, System.Byte[] header) [0x00048] in <65770e854e88462999d77d9b5ba154b6>:0 
  at Mono.Cecil.ModuleDefinition.ProcessDebugHeader () [0x00012] in <491da834968447e0a6760f87cf53862c>:0 
  at Mono.Cecil.ModuleDefinition.ReadSymbols (Mono.Cecil.Cil.ISymbolReader reader) [0x00015] in <491da834968447e0a6760f87cf53862c>:0 
  at Mono.Cecil.ModuleReader.ReadSymbols (Mono.Cecil.ModuleDefinition module, Mono.Cecil.ReaderParameters parameters) [0x00047] in <491da834968447e0a6760f87cf53862c>:0 
  at Mono.Cecil.ModuleReader.CreateModuleFrom (Mono.Cecil.PE.Image image, Mono.Cecil.ReaderParameters parameters) [0x00076] in <491da834968447e0a6760f87cf53862c>:0 
  at Mono.Cecil.ModuleDefinition.ReadModule (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) [0x00028] in <491da834968447e0a6760f87cf53862c>:0 
  at Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName, Mono.Cecil.ReaderParameters parameters) [0x0000a] in <491da834968447e0a6760f87cf53862c>:0 
  at FodyAssemblyPostProcessor.ProcessAssembliesIn (System.Collections.Generic.HashSet`1[T] assemblyPaths, Mono.Cecil.IAssemblyResolver assemblyResolver) [0x00196] in C:\Projects\WeldTesting\Assets\Plugins\Editor\Fody\FodyAssemblyPostProcessor.cs:188 
  at FodyAssemblyPostProcessor.DoProcessing () [0x00180] in C:\Projects\WeldTesting\Assets\Plugins\Editor\Fody\FodyAssemblyPostProcessor.cs:117 
UnityEngine.Debug:LogError(Object)
FodyAssemblyPostProcessor:DoProcessing() (at Assets/Plugins/Editor/Fody/FodyAssemblyPostProcessor.cs:121)
FodyAssemblyPostProcessor:.cctor() (at Assets/Plugins/Editor/Fody/FodyAssemblyPostProcessor.cs:60)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()
@oktomus
Copy link

oktomus commented Nov 27, 2020

Same here

@alexanderlarsen
Copy link

Same issue here. Plugin isn't working. I'm guessing because of the OutOfMemoryException.

I'm on Unity 2020.3.33f.

Did anyone manage to solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants