Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e) Copyright (C) Microsoft Corporation.

Hello
I have a problem. Few day ago, I start unity and this error appear on console:

Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)
Copyright (C) Microsoft Corporation. All rights reserved.
error CS1704: An assembly with the same simple name 'Editor' has already been imported. Try removing one of the references (e.g. 'D:\unity_project\jeux\blabla\Library\ScriptAssemblies\Editor.dll') or sign them to enable side-by-side.
Assets\Standard Assets\Utility\ForcedReset.cs(6,27): warning CS0618: 'GUITexture' is obsolete: 'This component is part of the legacy UI system and will be removed in a future release.'
Assets\Standard Assets\Utility\SimpleActivatorMenu.cs(10,16): warning CS0618: 'GUIText' is obsolete: 'This component is part of the legacy UI system and will be removed in a future release.'

I’ve delete ā€œLibraryā€ folder and rebuild my project but the problem still appear.

Do you have any idea how can I fix my issue ?

Thank you

Ok i have solve the error, just move the folders:
UnityPurchasing and UnityPurchasing.meta in another folder.

I hope these useful.
by

11 Likes

Thank you

1 Like

Thank you, exactly you say above. i just need rename the folder project.

Simple, I just resolved by deleting the Facebook folder inside the (PLAYBACK) directory of the editor I use.
This is the Patch:

C: \ Program Files \ Unity \ Hub \ Editor \ 2019.2.3f1 \ Editor \ Data \ PlaybackEngines

2 Likes

Am getting on OSX. Don’t have any Facebook folder, no UnityPurchasing and no UnityPurchasing.meta … :confused:
Anyone have any other ideas?

4 Likes

I fixed my issues with this by closing and restarting Unity. Nothing about the error seemed like a real error, and it may indeed be different than those reported above, but I wanted to mention what I did in case it helps.

The error I got listed only the compiler version and Microsoft copyright notice lines, I couldn’t clear it at all, and I didn’t recognize any relevant information in the Editor logs. I got the error today after updating the mono-devel and related packages on my installation of Fedora 30, using Unity 2019.1.7f1.

I’ve gotten a few odd errors like this after updating that supporting software. They don’t say much and don’t budge until I restart Unity, after which they disappear. I’m thinking I won’t see them anymore after I do a fresh restart of the whole system later tonight.

7 Likes

Hi, in my experience, this error apears when i downloaded the Monetization 3.0 pack. My ā€œpackage managerā€ tab in Window->Package Manager it was gone, and i realised that the problem was that i had two different package managing ads, so this cause assembly errors.

So I went to the Package folder of the project, inside i found the ā€œmanifest.jsonā€ file.
I got inside the file and deleted the line:
ā€œcom.unity.adsā€: ā€œ2.3.1ā€,

Hope this help.

pd: sorry about my english.

3 Likes

I’m getting the similar issues (and have for each upgrade of Unity for the past year or so). Note: I’ve been using Unity since 2009 and these issues are orders of magnitude worse than anything prior added together!

I tried to run a new project using 2019.3.6 and .7 and kept getting these errors. I uninstalled all versions re-installed, made empty projects, template-drive ones, etc, all with the same result. Searching on the internet, submitting bug reports to you - nothing works.

Is this an issue with everyone or what? It’s terrible!

---------- Typical Error ---------------- Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)
Copyright (C) Microsoft Corporation. All rights reserved.

error CS0009: Metadata file ā€˜/Applications/Unity/2019.3.7f1/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netfx/System.Numerics.dll’ could not be opened – Read out of bounds.

-Mike

I have exactly the same error on Mac OSX 10.13.6

Just restart the editor. That fixed for me.

Hello Did you solve it??
If yes then please help me

1 Like

we cant restart editor every time man.

4 Likes

For me , in Windows, there was no description for error and deleting library folder, and restarting windows didn’t work
based on ā€œFlorian Lavorelā€ answer at this topic: Unity 2019.3.0a7: Microsoft Visual C# Compiler Errors - Stack Overflow I deleted this registry key and done! problem was fixed:

it may fix the problem for someone else also :slight_smile:

8 Likes

Yeah, I agree. For me the complaint is very very rare. I’ve been using Unity for the past 2 years and until now, I have had that issue for 2 or 3 times only. So in that case it’s okay if I simply restart my editor. But if it’s a persistent error you are constantly having, then you need to find some fix to it.

usually if we create a new c# scirpt or if we delete an existing c# script ,unity will reload…and the error will be cleared…

just edit any of your code or the script that is showing in the console (for example by adding comments or deleting comments like that),then the scripts will get reloaded …and error will get cleared


I have the same problem. I tried to reinstall, update and all tipps of this discusion, but nothing worked. It is on every project and also on new created projects on every version. I really want to work on my project. I hope it’s not gone forever. Please help. Thanks :expressionless: -Purpurax

1 Like

Just restart the editor. that’s working for me