I'm getting an error CS0246 saying the file 'BaseMeshEffect' could not be found. But the same project in my colleagues computers work fine. Where can I find this file?
Assets/_UI/Packages/Gamestrap UI/Effects/ShadowEffect.cs(11,33): error CS0246: The type or namespace name `BaseMeshEffect' could not be found. Are you missing a using directive or an assembly reference?
Thanks
It sounds like you're using a different version of Unity than your colleagues. Update to Unity 5.2.
Reference
Hey I just found this thread, I'm one of the creator of Gamestrap UI and I saw you were having an issue with it, Unity upgraded it's version and changed a lot of stuff in the effects section, I've already uploaded a new version of the asset so it can work with the 5.2 version and the older versions as well, you just have to redownload the asset and it should work. Hope you are liking Gamestrap!
Related
I was following this tutorial https://www.youtube.com/watch?v=8VVgIjWBXks
about making a multiplayer game in unity using Mirror https://assetstore.unity.com/packages/tools/network/mirror-129321.
So obviously I went to the asset store and imported it... (I'm using unity 2020.1)
But now it's throwing a ton of errors and not letting me use "using Mirror;"
VSCode says: The type or namespace name 'Mirror' could not be found (are you missing a using directive or an assembly reference?) [Assembly-CSharp]
Interestingly enough I can run the game without any issues even with all the errors but when I try in my code to "using Mirror;" it doesn't work
I tried reimporting and restarting the project, regenerating .csproj files, and even trying on different unity versions but nothing worked. I'm assuming that the Mirror package itself is totally fine but I'm doing something stupid....
Any idea what I could do?
This seems to be the problem:
Most likely the version of VS Code you have installed, reverting VS Code C# Extension from 1.23 to 1.22.
The short term fix involves literally deleting Mirror from Unity and re-importing it from the Package Manager. Also deleting *.vscode and *.SLN files.
A proper discussion about this issue is found at Omnisharp-vscode GitHub page.
I had to ensure player settings had scripting define symbols:
MIRROR
MIRROR_17_0_OR_NEWER
I'm using Unity 2019.3.0a6 and am trying to apply SVGs to game objects. I installed the Vector Graphics preview package and I see an error in the console after doing so:
Library\PackageCache\com.unity.vectorgraphics#2.0.0-preview.4\Runtime\InternalBridge\VectorImageBridge.cs(206,64): error CS0246: The type or namespace name 'GradientSettings' could not be found (are you missing a using directive or an assembly reference?)
I've googled this error in vain, as it comes up with pretty much nothing. It seems like I'm running a very recent build (June 2019) so I doubt that I need an upgrade. I've tried dragging my SVGs into the scene but I'm not able to, probably because of this error. I'm somewhat new to Unity, so if there are some logs I can check for more detailed information, please let me know.
Unity 2019.3.0a6 is an Alpha version.
Don't use alpha versions for production. They are not stable and full of bugs and errors. You should only use them for testing the absolutely newest features .. and only for that. That's the whole purpose of having alpha and beta versions.
Rather stick to the latest stable versions! Currently it is 2019.1.11
I am getting this error
Assembly ‘Library/ScriptAssemblies/Assembly-CSharp-Editor.dll’ will not be loaded due to errors: Reference has errors ‘Google.GData.Client’.
Our project was running on Unity 2018.1, and I am testing it on 2018.3.5f1. After doing some adjustments for the upgrade, I noticed that some of our custom MenuItem went missing and guessed that it's probably because of this error.
I have been searching about this since yesterday but had no luck finding the right solution. Any help is appreciated greatly.
Got it! I found some old libraries that are not used by our project anymore. In Unity 2018.3.x, .NET 3.5 is label as deprecated. For those who may encounter the same problems do the following:
Look for .dll files that targets .NET 3.5.
Either delete them, or update them.
Reopen Unity
I am getting this error after importing the facebook sdk on my unity 4.6.1 , anyone can help me with a solution on this?
Assets/Facebook/Scripts/IOSFacebookLoader.cs(6,42): error CS0246: The type or namespace name `FB' could not be found. Are you missing a using directive or an assembly reference?
I am not sure but I think you are missing the line "using Facebook.MiniJSON" at the top of your code.
An error in another script someplace in an existing project could be preventing compilation of the Facebook .cs files, which would make the FB class inaccessible.
Is this in a new Unity project (for testing) or an existing Unity project? Have you tried following the "Get Started with Facebook Unity SDK" tutorial to set up the Interactive Console scene in the Facebook console?
I am upgrading an old N2CMS website to the newest version released in the trunk (2.2.5 or something like that), following these instructions https://github.com/n2cms/n2cms/blob/master/docs/releases/upgrade_2.2.1.txt but i am getting an error when tring to compile the project:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Has anyone done this before and know if there's anything else i should be doing appart from just copying files?
Thanks
Complete text of this error contains the name of DLL you are missing. Read it carefully and you will find out what DLL you need to add. It could be something like Lucene.dll which was introduced recently (it depends how old your project is).