Closed dcosmin-97 closed 7 months ago
Is there a way to fix it other than removing 2 RAM pieces?
Are you suggesting that because that fixed the problem? If you've got bad RAM there's nothing we can do to fix that.
Is there a way to fix it other than removing 2 RAM pieces?
Are you suggesting that because that fixed the problem? If you've got bad RAM there's nothing we can do to fix that.
Hi! This indeed did not fix the issue. There was another similar issue here and the solution was to move the RAM sticks.
If you have any other suggestions or there are some other files that I need to attach, please let me know.
I am looking for a fix but I ran out of solutions..
It's probably just a run of the mill compiler bug. Workarounds are typically disabling optimization for whatever function has the crash, or rewriting the code differently. Seeing as you're using Unity and the problem comes from the editor source, you probably don't want to be doing that. You could probably disable IL2CPP for local development, but idk if that's something you'd want to do for a shipping configuration.
Hello!
Mono is working for me, thank you! In IL2CPP, I sometimes receive this error:
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Mono.Cecil.MetadataReader.InitializeRanges(Mono.Cecil.Metadata.Table, System.Func1<Mono.Cecil.MetadataToken>) at Mono.Cecil.MetadataReader.InitializeCustomAttributes() at Mono.Cecil.MetadataReader.ReadCustomAttributes(Mono.Cecil.ICustomAttributeProvider) at Mono.Cecil.Mixin+<>c.<GetCustomAttributes>b__13_0(Mono.Cecil.ICustomAttributeProvider, Mono.Cecil.MetadataReader) at Mono.Cecil.ModuleDefinition.Read[[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef, System.__Canon, System.Func
3<System.Canon,Mono.Cecil.MetadataReader,System.Canon>)
at Mono.Cecil.Mixin.GetCustomAttributes(Mono.Cecil.ICustomAttributeProvider, Mono.Collections.Generic.Collection1<Mono.Cecil.CustomAttribute> ByRef, Mono.Cecil.ModuleDefinition) at ApiUpdater.MovedFromOptimizer.Program.CollectMovedFromTypeNamesFromAssembly(System.String, System.IO.StreamWriter, APIUpdater.Framework.Log.IAPIUpdaterListener) at ApiUpdater.MovedFromOptimizer.Program.RealMain(System.String[]) at ApiUpdater.MovedFromOptimizer.Program.Main(System.String[]) at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Span
1
For the guys that are coming here from Unity, here is a post with another issue opened on the Unity forum: https://forum.unity.com/threads/fresh-unity-instal-opening-with-compile-errors.1570849/ . I hope this is not spam or anything.
Which NDK version are you actually using? You didn't say, and there's really nothing we can do without that info.
Which NDK version are you actually using? You didn't say, and there's really nothing we can do without that info.
Unity 2022.3 has ndk version r23b(23.1.7779620)
Oh, that hasn't been supported for years. Try updating. If it's still broken, reopen with updating artifacts (they're not portable across versions).
Description
My configuration:
Is it something related to RAM? Is there a way to fix it other than removing 2 RAM pieces?
Affected versions
Canary
Canary version
No response
Host OS
Windows
Host OS version
Windows 11
Affected ABIs
x86_64
Build system
ndk-build
Other build system
No response
minSdkVersion
5.1
Device API level
No response