How to import template folder after a project has been created in unity with different template? - unity3d

I have created a unity3D project using the standard unity 3d template in unity hub.
Now i want to add another scene to the project.
I want this scene to be the AR scene that unity provides in its AR template (the AR template you get when you create a new project as an AR project).
This AR scene is part of the AR template which contains also many scripts that relevant to the AR functionality.
A project that is created with the AR project template also automatically import some packages.
My project is a normal standard 3D project and i would like to add AR functionality to it.
So i imported to my simple 3D project all the packages that are automatically imported to the projects that are created with the AR template.
BUT i don't know what to do about all the other scripts and AR scene that come automatically with an AR project template.
These scripts and scene seem to only be availabe to projects that are created with the AR template from the get go.
These scripts and AR scene and other AR stuff are all bundled up in a folder called "ExampleAssets"
I dont know how to add this folder to my simple 3D project. This folder seem to only be available to projects that were initially created with the AR template in unity hub.
Any idea how i can get this "ExampleAssets" folder (which contain all the AR stuff) into my normal 3D project?

Just create an empty project with AR template, export everything (relevant stuff) to a Unitypackage and then import that into your other project
This will export all the things you selected including dependencies etc. On the import side it will again give you control about which parts to import, by default it will automatically skip anything you already have there anyway or you have modified/differing from the import, so you can decide whether to skip those or overwrite with the imported versions.

Related

How to remove unwanted 2D packages from a Unity 2021.3 3D URP Project?

Because of bug in Unity Hub, when creating a new Project the only templates available are the following:
So the work around to start a 3D URP Project is to simply choose the 2D URP Template, let the project open in Unity, and then change the Renderer from 2D to 3D and change some graphics settings.
This works well, and Ive not encountered any issues with 3D URP functionality.
However, I now have a bunch of (unnecessary?) 2D packages in my root project folder:
How can I best delete them? I have read something about a manifest?, but I dont know how that works.
How do I get rid of these files and what other changes should I make in the project?(manifest?)
Why would you need to create a 2D URP project and delete the 2D packages?
You can create a 3D project and then install the URP package from the package manager (open the package manager by clicking Window>package manager in the editor), in the package manager select Unity Registery and search "Universal RP", then just install the package and that's all.
You need to use the Package Manger window to remove all unused packages.

Click the UI Button to Import 3D object from local folder in UNITY?

ON click the UI button to import 3d object or FBX from local folder in COMPUTER and how to access the local folder in runtime ?? (UNITY3D)
Thank YOU
You will need to write your own File Browser (or use someone's else). Then using some FBX reader nuget package interact with Unity API... It's really not easy. You may want to see this thread - How can I load FBX file in Unity runtime? .

Empty Project in Unity 3D

I'm taking an online Unity3D class and after some straight C# stuff we're finally diving into Unity proper. When the teacher makes a project it starts with nothing but a Main Camera object. However, when I try to make a new project it comes with a directional light in the hierarchy window and some un-deleteable folders in the project window. Is there a way I can simply start the project as empty?
Your unity version is different (and that's ok)
Those undeletable folders are there because they are required by Unity in order to function correctly. And they actually exist in your teacher's Unity project too! You just don't see them because the root directory on your version of Unity is in a different place (previously the /Packages directory was hidden because the project window's root director was /Assets, if you were to open both projects in the file explorer window you would find them essentially the same).
The main camera and directional light are just helpful defaults, if you don't need them you can delete them (but most projects do need them).

apply texture on OBJ files automatically in batchmode

I have created a C# script to create unity3D asset bundles automatically via batch mode. When I import FBX files and export them as asset bundles, on instantiation in the app at runtime the textures of FBX files are applied automatically; if while exporting, textures are in same folder and if the texture filename is not changed. But OBJ files never take the textures automatically. OBJ files are exported and also instantiated at runtime in the app but without textures, with the same batch mode script that I use for FBX.
It is important for my project that textures are automatically applied on OBJ files also. How do I do it?
I am using Unity 4.5.0 on a mac.
Thanks!
Found the solution! Two files are generated when object file is exported from 3D modelling software, one is the .OBJ and other is .MTL. The latter contains texture map information of that particular object file.
If .MTL file is imported along with the .OBJ and textures in the unity project, while exporting asset bundle, unity takes all the textures automatically. When this asset is rendered in the app, all the textures are applied automatically now.

Unity 3D importing

I used to code in c# using Xna then I saw Unity 3D engine and I downloaded latest version installed correctly started development of my game but suddenly when I was importing my animated character Unity 3d blocked my pc ! I noticed that my keyboard goes off when that happened and I cant move arrow or call task menager I can only restart pc ! So brother and sisters help me on my way .
Model files that are placed in the Assets folder in your Unity project are automatically imported and stored as Unity assets.
A model file may contain a 3D model, such as a character, a building, or a piece of furniture. The model is imported as multiple assets. In the Project view the main imported object is a Model Prefab. Usually there are also up to several Mesh objects that are referenced by the Model Prefab.
A model file may also contain animation data which can be used to animate this model or other models. The animation data is imported as one or more Animation Clips.
What I understand in your question is that whenever you try to import assets into unity it makes trouble.
Try to place them in the folder in your drive and then run the project in Unity.
The normal path of Unity project is C:\Users\Public\Documents\Unity Projects
From what I understand; Your computer is spazzing out when you're trying to import Animated 3D characters into Unity 3D
I have faced a similar problem.
The solution I believe might work is :
Create the appropriate folders inside of unity. Assets > Models
Outside of unity, place the OBJ file for the models into your c:\Users\Public\Documents\Unity Projects\Your Project or wherever it might be, in the Assets\Models folder.
Then when you're inside unity, it should be in there without any issues.
That should do the trick.