Unknown Api compatibility level 6 - Unity - unity3d

I recently opened a project created in an older version of unity with a newer version, However I am getting an error saying
Unknown API compatibility level: 6.
UnityEditorInternal.InternalEditorUtility:GetMonoIslands()
UnityEditor.SyncVS:SyncVisualStudioProjectIfItAlreadyExists()
Furthermore my game view is aqua green and my scene view is black. Please help!

please follow the next steps:
Go into your project's folder
Open ProjectSettings and open ProjectSettings.asset with a text
editor
Find apiCompatibilityLevel and change it from 6 to 2

Unity does not handle very well changing the editor version.
You can read this post to have an official statement from an Unity Employee, where he explains how it handles backwards and forwards compatibility:
https://forum.unity.com/threads/compatibility-across-unity-versions.556927/
I suggest that you use the old version you used to develop the original game.
Downloaded the old editor here: https://unity3d.com/get-unity/download/archive
Regards.

Related

Which Unity version should I use?

So I ask you for a unity version (specified version number) that is tested and won't cause me issues in the future, and at least supports the Third Person Character Control Starter Asset.
Some of the versions I tried:
unity 2021.3.3 takes too much time to build (1 hour minimum) especially mobile build, "Your device is weak", I never had this issue with older versions, same project, same assets, takes less time.
unity 2020 and before, many of the assets I need are not supported.
unity 2019 manually setup android build (please kill me) + won't work at the end.
unity 2021.3.16, newly created URP projects by default are bugged with the issue (Burst Compile Error) and I can't add the URP package to an existing project.
You should check release notes from each build at this site if you think an older version will suit you better, you have pre-releases as well on the hub or website but those might cause you trouble in future since they can change substantially until they are official releases.
Although It is strongly recommended that you install a LTS version due to support, go figure.
Each issue you face its either your fault, and you can solve it with a search on the topic, or its a bug and its either been fixed on a later build, pending resolution (there's plenty) or you could create a bug report.
This is not my place entirely since I only use Unity but I hear Godot is light weight and could fit you better.

Since the new version of MRTK i cant build a scene

Since i use the new version of MRTK, i get that building error (Unity 2018 3 12f1). How can i fix that?
I had no issues with the old version, but in the old version i couldn't disable the spatial mesh render so it would disappear in my app.
https://imgur.com/h6Xt35h
The other solution would be, to get the spatial mesh render disabled in the old version. So i dont need the new version. But i cant find the menu for that option.
https://imgur.com/f63J1Ip
The only way to find the script is to search for "spatial", but that script is greyed out.
https://imgur.com/Vev0P89
PS: I'm new to this, so please explain it for a beginner.
From the first image you shared, it looks like you need to install the Windows 10 Insider SDK (version 18362 or later). The insider version of the Windows SDK has a few new classes that you need in order to compile for UWP.
https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewSDK
Hope this helps!
okay, i found a way.
For anyone who has also problems with this:
https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/3898#issuecomment-481618334

TypeLoadException after loading .NET 4.5 C# DLL into Unity 2018.2.5

I want to be able to feed the camera frames from a webcam into Unity. I made a .NET 4.5 C# DLL using MediaFrameReader and event listeners. Here is some other user's implementation for accessing the Hololens camera frames: Hololens - Access Camera Frames.
When I import the DLL into my 2018.2.5 Unity project, it gives me the following error:
Unloading broken assembly "....", this assembly can cause crashes in the runtime
TypeLoadException: Could not find method due to a type load error
The C# plugin built successfully many times on Visual Studio. Also, I have properly set the Api Compatibility Level (in player settings) to .NET 4.x. What could be the fix to this?
All the other SO answers related to this I have already taken a look, but does not seem to help the problem. Thanks for all the help.
EDIT: https://issuetracker.unity3d.com/issues/unity-fails-to-load-net-4-dot-6-assemblies-with-typeloadexception is the most relatable post, but had no solution.
I have few possible solutions for you to explore.
DLLs issues:
Workaround:
Comment your UWP code (the part that uses the DLL), then build it in UNITY without the DLL. In the generated UWP solution, install the package from nuget or manually import the dll, then uncomment your code and finish your development. This is a short-term solution.It is going to be annoying as you re-build your solution many times and have to comment/uncomment then re-add dlls and so on.
Other possible solutions:
Failed to run reference rewriter with command error with unity error when adding a DLL to the assets folder
Your exact need
From your description, you really do not need everything in the link you referenced (Hololens - Access Camera Frames). You need much simpler version. I recently created MediaCapture solution for HoloLens as a workaround because PhotoCapture in Unity is not working in the HoloLens and everything is working without any additional DLLs. I will post for you few links to see if it may help you:
MediaCapture Unity & HoloLens: https://github.com/MSAlshair/HoloLensMediaCapture
This maybe a good start for you. You can combine it with your original reference. Use this project as starting point to make sure your project is building correct, then use the necessary code from the other resource that you posted to accomplish the task that you desire. You may need to download Unity 2018.2.12f1 because I didn't test it in 2018.2.5
MediaCapture & PhotoCapture: Hololens font camera
Good Luck!

Upgrading umbraco version 4.11.10 to 6.0.0

I want to upgrade my existing umbraco version project 4.11.10 to 7.5.4, and i decided to upgrade step by step in incremental manner. When upgrading version 4.11.10 to 6.0.0 using nuget package and replacing old dll files with newer one, i am able to run back end and front end side, but on back end, i am not able to view the list of "content" and list of "document types" from my existing project as well as looks like still it displays ui of back end of older version 4, but when i click on "about us", it displays version 6.0.0 as attached in screenshot, please help me to find out the solution, Thanks :) Check here in attached screenshotCheck here - Content not loading
Upgrading from 4.11 to the newest version of 7 should work, HOWEVER, if you're using custom data types, the chances are that some stuff is going to break, as v7 doesn't use UserControls for DataTypes anymore. Some data types can be straight swapped, some not so much. You should be able to see all the DocTypes and content etc though.
When you've swapped the DataTypes out, you may need to reformat the data to match the new DataTypes so you don't lose any data as well. This is something you'd probably have to do either with the API of directly in the database.
I've written some blog posts on upgrading Umbraco, have a read and see if they help:
http://www.attackmonkey.co.uk/blog/2015/10/upgrading-to-73-part-1-preparation
http://www.attackmonkey.co.uk/blog/2015/10/upgrading-to-73-part-2-the-upgrade
http://www.attackmonkey.co.uk/blog/2015/12/upgrading-to-73-part-3-switching-to-razor
http://skrift.io/articles/archive/umbraco-upgrade-strategies/

Flash Builder plugin

I know that this is not a programming related question but what is the name of plugin in this video: http://johnlindquist.com/2010/01/21/as3-signals-tutorial/.
Here is screenshot I've took: http://i.stack.imgur.com/tBIJm.png
It is used to auto complete code generation as is is shown in movie (for example to create local variable after clicking key combination ad the end of line).
It would make my life easier :)
I'm currently using flash builder 4.6 on windows 7 x64. Plugins that I have installed are: SourceMate and CodeFormatter
Maybe this isn't a plugin after all, maybe I must install eclipse and flash builder as a plugin. Help me with this one please.
As I mention in comment to my question I found out that application that was used in this video is FDT5. I hope that someday these features will be build into Flash Builder.