I’m getting a CS8032 warning which the microsoft site you get sent to doesn’t have information on, what is this? there’s almost nothing in the whole project. it reminds me of a lengthy Unity Graphs error, here it is:
Warning: CS8032 An instance of analyzer Unity.Properties.SourceGenerator.PropertyBagGenerator cannot be created from C:\Users\ME\OneDrive\Documents\Unity Game Maker\2023.2.19f1\Editor\Data\Tools\Unity.SourceGenerators\Unity.Properties.SourceGenerator.dll: Could not load file or assembly ‘System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=[IMCENSORINGTHISCUZSOMEONEELSEDID]’ or one of its dependencies. The system cannot find the file specified… C:\Users\ME\OneDrive\Documents\Unity Game Maker\2023.2.19f1\Editor\Data\Tools\Unity.SourceGenerators\Unity.Properties.SourceGenerator.dll
it doesn’t seem like anything is broken or wonky in scene, but that could be due to the fact there is like I said basically nothing in the scene I’m working on. and actually nothing on the other 2 scenes
This may point to a broken editor install. Uninstall, disable any 3rd party antivirus and exclude the editor and project path from scans, then reinstall editor.
This may very well be the cause for corruption as putting Unity projects under cloud sync folders is known to corrupt projects if you work with them from two different locations or with multiple people. It will also use an excessive amount of storage since cloud sync always includes the Library folder which is a cache folder that’s typically 5-20 times the size of the Assets!
I wasn’t trying to use OneDrive, I uninstalled it a while ago before installing Unity and my laptop just decided to put everything in the OneDrive folder so I don’t know what that’s about
I assume this is a OneDrive thing? otherwise I’m not smart enough to know what this means
I don’t know, what this is. I would love to use anything that Microsoft doesn’t default me to at this point
Lemme just take all this away, McAfee out, Bing out, OneDrive out. I’ll just use the Windows anti-virus, Chrome, and just lose my files or something
Microsoft was recently caught automatically enabling backups through OneDrive. Additionally it’s known to be able to reinstall itself so double check Add or Remove Programs in Settings. Chances are it’s actually installed again.
Since it can’t be permanently removed what you can do is disable it in the Group Policy Editor (gpedit) as long as you’re on Windows 10/11 Pro as AFAIK this tool is not available for Windows 10/11 Home.
How did your unity install (not project, but the install itself) get its way into your Documents folder… let alone under OneDrive???
Here’s where I’d be going and uninstalling everything Unity (not your projects, just the unity editors) including Unity Hub. Then reinstalling it so that Hub ends up in the ‘Program Files’ where it belongs and then make sure all installs of unity I do with Hub go into the Editor folder like I always thought it defaulted to:
…
I think CodeSmile thought your project was under OneDrive, and not the install. Which don’t get me wrong… I thought that at first too until I realized those folder names aren’t project related… they’re unity editor install related!
But what CodeSmile was referring to is that usually when working on projects we are in teams and/or we just want a way to keep a history of our projects through out development. Tools like ‘svn’ or ‘git’ (think github) are used for this and they are broadly known as “source control”.
Thing is using tools like ‘git’ can be a learning process in themselves and some people will try to use tools not designed for source control instead. Such as OneDrive or DropBox. Use of such tools as an alternative to source control tools designed for the task of sharing your project in a team can result in catastrophic outcomes.
Similarly… having a program installed into a folder tracked by OneDrive or DropBox can ALSO have catastrophic problems.
Hence why we’re suggesting doing anything in your power to get your Unity install out of that directory and into ‘Program Files’ where it belongs.
…
As for uninstalled OneDrive itself… I will note that while you can technically uninstall it. Windows will creepily reinstall it on you. Especially when you get an update.
If I don’t know where to put anything in any context, my brain just defaults to putting everything in the documents folder. I told Unity Hub to do that. how hard will it be to switch stuff into the Program Files?
The cleanest thing that is sure to work would be to uninstall the editor then change the default install location inside Unity Hub under {settings cog} Preferences > Installs > Installs location to C:\Program Files\Unity\Hub\Editor, then re-install the version of Unity you were using.
Unity Hub stores installations of the editor in its own installation folder but any data associated with it is stored in %AppData% (Roaming and Local). Unity editor uses %AppData% too for various things that have to be referenced between versions (eg Asset Store downloads).
Also just something to be aware of: Unity doesn’t like spaces in folder names. Unity Hub and the editor installations shouldn’t care (I mean they are trying to go to “Program Files” after all), but avoid trying to use them in the name of your projects. Special characters not normally found in the standard ASCII table can be troublesome too.
You should try to break this habit. Apps are made to not only want to install to a certain folder (because every OS has folders with special permissions and behaviors) but also to want to store files outside of certain folders, and if you try to override any of this you can not only lose data for the app but data not associated with the app.
For example Unity Hub wants to install the editor to its own folders but nothing else is supposed to be in there as it will take full control over the subdirectories and manipulate them for whatever it needs to do. Some people have learned this the hard way where they put their project in a hub folder and the hub deleted it with no warning.
OK, I can get how you default to documents folder when requested.
What I don’t understand is why would you change something from the default?
You had to actively decide to install it into ‘Documents’… when you run the unity hub installer it DEFAULTS into the appropriate ‘Programs Files’ location. Why would you change it? It’s called ‘Program Files’… it’s where programs go. It’s where they’ve gone since as long as I’ve been using Windows (I thought it may have been windows 3.1, but turns out it was 95. I wasn’t super hip to the 3.1 though, I only used my neighbors computer with 3.1 on it so I didn’t install programs there).
…
I agree with @Ryiah , you really need to get out of that habit. ‘Documents’ is for, as the name implies, documents. Not programs, but documents.
And srsly… just uninstall Unity Hub and all your Unity editors and start over clean. It’s the only way to ensure you get this correct without some heavy lifting that honestly is far too out of scope to describe in this forum post.
Literally only because It’s hard for me to find stuff there (I think), and I also thought it would be hard to… something? I don’t remember my thought process.
There’s no really good reason why I did this,
I wish I remembered, anything about why… this.