Your project was last opened with a different setup of utility - unity3d

I try to open my Unity project in other version of Unity. How to open my Unity project in other Unity version?
I get the following error:
Your project was last opened with a differernt setup of utility
and
The saved project(5.6.0f3) does not match the lunched
editor(5.5.3xf1Linux)
Below is an image of the complete error I get:

The saved project(5.6.0f3) does not match the lunched
editor(5.5.3xf1Linux)
What's happening is that you saved a project with 5.6 version but you are now trying to open that project with 5.5 version. You cannot and should not attempt to do that. When you save a project, you should only open it with the-same software version or software version above the version you used to save the project.
The reason for what I said above is that the never version of Unity may have added new features to the saved data. They might have changed the structure of saved data too. There is no way old version of Unity can understand the changed data. This is why Unity implemented a feature to detect when you are opening a project with old version of Unity that was saved with a newer version. This prevents Unity from corrupting the project if successfully opened and modified.
The fix for your particular issue is to open the project with any Unity version above or equals to 5.6.0f. That would be Unity 5.6.0f, 2017, 2017.1 and 2017.2....

I had a new version and had this problem. However, I solved the problem as follows.
Unity -> Edit -> Project Settings -> Editor change the mode of version control from Hidden Meta Files to Visible Meta Files.

Related

My unity project gives error when i try to open it?

I use Unity Hub 3.3.0 and 2022.1.23f1 editor version
How can I open a unity project for Mac?
I'm sorry, probably the part in the photo where the error is, I think the troubleshooting steps you wrote
unopened file
more
solutions that can be applied if it is a file that has been opened before, but I have not been able to open a file since I first uploaded it.

Unity + ClearScript - Importing DLL

I'm trying to use ClearScript in Unity, but fail because Unity does not see the DLL.
To be sure, I cloned the project and had the DLLs built. I did this using the instructions from ClearScript.
The goal is to use the DLL on HoloLens, which in turn means I have UWP as the platform and ARM64 as the architecture.
But I also want to have valid references during the implementation in Unity and not have constantly grayed out code because of the scripting symbols (such as UNITY_WSA).
So what did I do?
Screenshot - I took the dlls out of the output-net4.5-folder and set the api compatibility level in unity to .NET 4.x. The red ones are the dlls that I need and the blue ones only if I realy need to use V8, like already mentioned by the instruction from ClearScript.
All the dlls, except "..win-x64|86.dll", are managed dlls and should work out of the box in unity. So this are the import settings for the managed dlls and the settings for the unmanaged|native dlls.
So what did I miss or what did I do wrong? I used in the past for example another javascript interpreter, called Jint, where I also just took the managed dll out of the .net-4.5-build folder, imported it under Assets/Plugins/Jint and used it in my code just by adding the using in my classes.
I'm not sure if I should actually be happy or sad. Unity does what it feels like doing. The whole time (2 days) it didn't want to load the DLL for me. Just now I opened Unity for the 30th time and suddenly Unity recognized the DLL and listed it under references in the vs-unity-project.
So I doubted whether Unity, after making changes in Unity, actually reassembles the VS project.What did I do to confirm the guess and what do you need to do to solve the problem? I added a new DLL, this of course was not seen by unity and not referenced in the vs-unity-project. Then I deleted the solution file and the C# project file from the Unity project and restarted Unity. And when I reopened the VS Unity project (by opening a c# script), all the DLLs including the new DLL were suddenly referenced and the usings worked!

HoloLens2 Application made with unity throws Exception "Could not create a device for ''Hand - Right (XRInputV1)"

Since I updated my HoloLens2 Unity Project to Unity 2020.3 my deployed HoloLens2-Application (in Unity Editor they never happen) always throws the following Exceptions :
Could not create a device for 'Hand - Right (XRInputV1)'
(Exception: System.ArgumentException: Expected control positionAccuracy to be of type 'AxisControl' but is of type 'IntegerControl' instead;)
at UnityEngine.InputSystem.InputControll
Could not create a device for 'Hand - Left (XRInputV1)'
(Exception: System.ArgumentException: Expected control positionAccuracy to be of type 'AxisControl' but is of type 'IntegerControl' instead;)
at UnityEngine.InputSystem.InputControll
Does anybody know, how to get rid of those Exceptions?
I am using the MixedRealityToolkit 2.7.3 HoloLens2 default Configuration and noticed this problem at Unity Versions 2020.3.8, 2020.3.22 and 2020.3.26.
Firstly, please double check the MRTK Input profile setting. You can easily configure the project in Unity Menu: Mixed Reality > Toolkit > Utilities > Configure Project for MRTK
Then, please check out your XR setting, Since you are using Unity 2020.x, you can use OpenXR plugin, see Choosing an XR configuration.
If the issue is still there, this may also be caused by your hand control code. Here is discussion with the same exception as yours, see WikkidEdd's reply in this github issue. In their case, they need to use IntegerControl instead of AxisControl.
OK I fixed the Error-Problem by updating to OpenXR plugin. It fixed basically every problem I had so far within my project. By coincidence I came across the plugin as a tarball file while downloading this sample-project from Github.
I´d wish to find a place where I can get all the plugins which can be installed via Microsoft FeatureTool on one place as manual download! Maybe someday it will exist. :)

why do I get an projects error when opening a project in unity 2020.3.12f1

when i open or create a progect in unity it says "cant find unity package manager local server application?
https://i.stack.imgur.com/cweSE.png , https://i.stack.imgur.com/33dbz.png
The error is pretty straight forward.
Can you reinstall it with maybe the av off (or add an exception to the av).
You could also try a different version 2020.3.something else and see if it works.
Also check if you have proper read/write folder attributes where the unity files installs.

Unity 3D is Layout Errors On a fresh install

Unity 3d doesnt work, when I try to open my project it says that This can happen if layout contains custom windows and there are compile errors in the project. I tried reinstalling OpenGL and something that I found on the internet but didn't work. The error window says that Revert Factory Settings but same thing happens after it too my Unity version is 2020.1.0a My OS is Ubuntu and I gave all the permissions to some folders. Didn't work And all this happened after a fresh install
Unity 2020.1.0a3 is an ALPHA VERSION!
As any alpha version it is not stable for production and can be expected to be full of bugs and unexpected behavior.
Search through the Known Issues in 2020.1.0a3 maybe your problem is already listed there.
In general do not touch alpha or beta versions unless you want to checkout a new added feature and test it.
For anything else stick to the stable releases like 2019.1.14f1 or 2019.2.6f1
On the last letter you can see their state:
a = Alpha
b = Beta
f = Release
Not sure if these are related but here and here also others had this problem already in early version so maybe one of their hot-fixes work for you as well.
This error may occur in released versions.
To resolve this problem:
Go to this directory:
C:\Users{YOUR_USER}\AppData\Roaming\Unity\Editor-5.x\Preferences\Layouts\default
Open Default.wlt file with Notepad or any text editor and copy all its contents.
Go to your unity project directory like this:
{YOUR_UNITY_PROJECT}\Library
Open CurrentLayout-default.dwlt file with Notepad or any text editor and delete all its contents then paste the contents of Default.wlt that you copied in step 2
If these files exist in Library delete them:
CurrentMaximizeLayout.dwlt
CurrentLayout.dwlt
Stop the Unity Hub service by a click the system tray and right-click on Unity Hub icon then select Quit Unity Hub.
Run your project again.