When adding Text - TextMeshPro in the inspector some of the components overlap the others. if there a way to repair that? - unity3d

I'm using unity editor version 2019.4.15f1 personal and i didn't try it yet on newer editor version.
In the TextMeshPro inspector i can't see the transform part i cant see other components and some components overlap other components.
Screenshot of the Canvas :
The textmeshpro :
I tried now with editor version 2020.3.28f1 personal the problem is now fixed but now i can't see the text anywhere there is written New Test but in the scene view and game view the text is empty.
Not sure if changing to new editor version fixed the first problem and how to fix the new problem that the text is not shown now.

Related

Unity InputField on HoloLens, keyboard disappears

I'm trying to add an input field on my HoloLens (1st gen) app and when I click on the field the keyboard appears but then disappears.
The problem
My input field is an Unity UI input field and when I click using a finger tap on the input field I can hear a click sound and the keyboard appears but disappears right after.
What I've tried
According to the documentation, using Unity UI input field or TextMeshPro input field should allow me to use the keyboard in order to fill the input.
Any solution on how to fix this behaviour ?
I have also had same problem. Not only on the Hololens 1 but also on the Hololens 2.
I was using Unity 2021 versions but then rolled back to Unity 2019 version. It seemed to solve the problem of keyboard disappearing suddenly. You can also get more related information about the unity versions and MRTK keyboard here Keyboard disappearing all of a sudden.According to the link , certain 2020 or 2019 Unity version seems to have this issue fixed,but for me, Unity 2020 versions did not solve the issue.
On other hand,there is also one other issue with keyboard; when typed on the keyboard the cursor position did not seem to properly move with text and sometimes the text would get jumbled up. However, it was only around 20% of the time, so i went ahead with it.
Hope this helps.
Using TextMeshPro Input Field solved the problem

Unity inspector unable to save text script

I am trying to edit existing project in unity version 2017.1.3f1 my goal is to change the value of a text script using direct edit from the inspector. However everytime i save the project and run the application the change i have made is not reflecting. Can any one advice me on how to deal with this.
The methods that i have tried
Click the gear icon to load the csharp script but always showing error code
"Unable to open C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/Standalone/UnityEngine.UI.dll: Check external application preferences.
I have change editor from MONO and Visual Studio but still no luck.
i have attached here some images that can help understand my concern.
RED circle is for the text wanted to change and the gear icon is suppose to leas the code but showing error as mention above
You are using Unity, and therefore the component system. The text is part of the old (deprecated) set of GUI components.
The editor window only allows you to cache the text that will be displayed. In order to load/change text, you need to create a C# script. C# script is added by pressing the AddComponent button, for example. Next, you need to use the Using UnityEngine.UI directive for your component, or TMPro for the Text Mesh Pro component.
If your changes don't show up, it's likely that the project has a system that loads certain texts into your text field. In this case, you need to find out which script is responsible for this.

Colors missing when building my project Unity

I recently started implementing a cellular automaton in unity and now I'm trying to build the project but the colors, which got displayed in the editor demo:
are not displayed properly after building:
I implemented the color with:
CubeMeshes[cubeMeshesIndex][gen].GetComponent<MeshRenderer>().material.color = ColorsArr[color]
where ColorsArr[color] is e.g. Color.blue
My always included shader list looks like this:
What exactly am I missing?
Edit: I was able to solve this by running the script and checking which shaders are added on the material during runtime when i click on the instantiated object in the Hierarchy. For me it was the "standard" shader which I then added to the "Always included Shaders" list as the 8th option.
i have this error with all of my projects, and it has nothing to do with shaders. you just click on the gear icon in the top right corner of your player settings, and press reset. then, you can add the title and other options again, and it will work. good luck!
EDIT: maybe try resetting the graphics settings as well.

i cant find or add specific components to my objects in unity

I have been watching tutorials on youtube (i'm new to unity), I was trying to add a rigid body to my player, which I've never done. In the video they clicked add component in the inspector then physics then rigid body. but i don't see physics and when I search for it nothing appears. the only options i get are:
Effects
Layout
Mesh
Miscellaneous
Rendering
New Script
Underneath Box Collider i get a warning saying the the "module that implements this component type has been force excluded in player settings" could this be the problem? If so how would i fix it?
Thanks.
Try go to the PackageManager, switch to Built-In Packages and see if the package Physics is installed. Sounds like it has been actively be removed (uninstalled) or you somehow broke the Packages/manifest.json file.
If you can't even get the PackageManager try to reset the packages as described here via the top menu bar → Help → Reset Packages to defaults
or just directly replace your Packages/manifest.json with a one from a fresh empty project
Also note
Our first TECH stream release of the year is available as of today. Unity 2020.1 includes a wide range of features and improvements that make Unity workflows even more intuitive and make you more productive, while Unity 2019 LTS remains the recommended version for projects in production.
The PackageManager got an overhaul and a lot of users had issues like yours. See e.g. this thrread.
You should stick to the LTS versions, currently 2019.4 LTS (except for experimenting with the very newest features).
So if you type in the search bar of Add Component "Rigid" nothing pops up? If not I believe it should.
The problem could be in your libraries. Try deleting the library in your project (with Unity closed). Maybe if you have not made much progress in this project you could try opening a new unity project and seeing if it works.

EventSystem have no module at runtime in unity_ Input problem

unity 2018.4.11
For example, I want to click a button in a new scene, so I place one. My canvas have Graphic Raycaster.My button is Interactable.My EventSystem has a Standalone Input Module. But after I press Play. My button can't be a click, don't change color when I hover it. The EventSystem has no information about my input. The black box at right-down has nothing, no module. I have tried resetting my Input in a project setting, re-add EventSystem, re-add standalone Input Module, re-open unity and my computer. All fail.
I create a new unity 2018.4.11 project, and the button can be click. I have a lot of assets in my unity. I don't know if these asset cause the problem.
The problem also let my joystick controller can't be detected. It seems my Input System is broken, but I still need this project and these assets, or there is some way I can move these things to a clean project?
Thanks for reading.
Okay...I export everything and import to a new unity project and solve it, but I still don't know where is my problem with my orginal project.