I'm missing tile palette feature. How do I get it? Am I missing any other features?
I've seen others have this similar issue, but I never really saw it get solved.
Also on school computer so can't really access the links they posted, but I heard they took you to downloads for tile palette, but if tile palette is in the unity manual why do I need to download it from some random site?
For 2019.2 and above, if you created a new Unity project, you will need to add the 2D Tilemap Editor package from the Unity Package Manager (under Window/Package Manager) to your project to be able to create Tiles and access the Tile Palette. If you created a new Unity project with the 2D template, the package will be added for you automatically. If you upgraded from a previous Unity version, the package will be automatically added as well.
Related
I'm taking a class on making 2d games in unity, but unity won't open the game file. The error message is: Project path does not exist C:\users\Ohy0y\oneDrive\unity\NewUnityProject. Please note that the unity folder is not official, it is made by me. I have updated unity, deleted every previous version of unity, and tried to redirect the path into an empty folder.
This is my first day learning unity so I may be missing something obvious, please answer if possible!
A "game file" does not exist in Unity. In Unity, you have a specific folder structure. The project folder is the folder your Assets, ProjectSettings, Packages,... folder is inside.
In Unity Hub, remove the project you are trying to open from the list of projects and add it again by chosing your project folder (the one containing the Asset folder and such).
If that doesn't work for you, please specify why and try the following step:
In your project folder go into the ProjectSettings folder and open the file "ProjectVersion.txt" and tell me what the first line sais (m_EditorVersion: xxx). This is the project version, i.e. what Unity Version was used to create the project. That version should match the Untiy version you have installed.
Also, gernerally speaking, Unity Answers is the better platform for you to get quick answers to simple Unity related questions.
If you want to run your Game (Game File), you need to create a build first.
But of course you need to build a working scene first. If you have problems just opening the project with unity, i would try making a new project outside onedrive.
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!
how to bake NavMesh in runtime from script. I searched in Google but did not find.
some rendered scene and buttons including bake
Currently, Unity doesn't have a way to bake but NavMesh at runtime BUT there is an experimental package that Unity has that allows you bake a NavMesh at runtime. It is very stable package.
There were tutorials made by Brackeys in collaboration with Unity.
The demo project is available for download on GitHub. You can use in the scripts in there to bake a runtime NavMesh.
I would highly recommend watching the tutorial first.
Here is also the link for Unity's site and tutorials on runtime navmesh.
using UnityEditor.AI; //"Editor" not "Engine"
NavMeshBuilder.ClearAllNavMeshes();
NavMeshBuilder.BuildNavMesh();
AlienCode's answer is perfect for baking NavMesh at runtime,
since you can't have both using tags (UnityEditor.AI & UnityEngine.AI).
I created a separate script and used it for baking NavMesh.
I'm not certain if it only works in the editor or in builds though.
I have a question about the new NavMesh in Unity 5.6. I am not able to find any of the mentioned in the 5.6 release notes new Nav Mesh components (navMesh Surface, (Volume) Modifier).
I do not really know how to easily get them. I have already downloaded the files at: https://github.com/Unity-Technologies/NavMeshComponents and I am planning to implement them in my project. I think is weird that you have to manually download them from GitHub, when they mentioned them in the Unity 5.6 release notes.
Do you know an easier way to use them in Unity?
Friendly Greetings, Quinten
I have a problem with native Unity components. In my project all UI objects are getting initialized with missing scripts. All Event System components, everything connected with UI.
New empty project works fine, which leads me to the idea, that something is wrong with my current project.
Any idea how to fix it?
Because Unity hasn't imported UI to your project. I had this problem too. Close your project. Just delete temp and library folder and reopen project. this time unity will import this UI library.