Category "unity3d"

After updating to unity 2021.1.13.f1 isNetworkError and isHttpError is already obselete

if (www.isNetworkError || www.isHttpError) { Debug.Log(www.error); } Does anyone know how to replace this code properly to the upda

'Image' does not contain a definition for 'color' on Unity

Can't use Color on Image component. Looked for solution but no luck. How can i use color on Image? Here is the sample code that should work public void Locke

The prefab asset from the assetstore is not imported correctly (3d model with animation)

I am importing a purchased asset from an assetstore. Animated cat model. However, all prefabs are assembled incorrectly at once, the components are not in the

Unity3d - Trying to change color of Material via C#

I've looked all over for a solution for this and it seems simple enough but I don't understand why I can't change the property of one of the materials located o

Unity: Runtime-Terrain-Editor How to raise a circle

I'm trying to create a terrain editor, that works on runtime. At this point I can raise a square but have problems to raise a circle-shape. I saw this post and

What's the difference between Unity LTS and Unity latest version?

As of this writing Unity has a version called Unity LTS 2017.4.12f1 and the latest version of Unity is 2018.2.11 I understand that Unity LTS is supposed to b

Unity2D how do i calculate jump height using Velocity & Gravity

i would like to calculate the jump height. but i don't know how Example: RightBody2D rb = this.GetComponent<RightBody2D>(); // Do jump rb.velocity = new

How to remove Visual Studio 'IDE' warnings for a Unity project?

I've been trying to get rid off IDE warnings for a Unity project: While csc.rsp works for CS warnings, it doesn't for IDE warnings: -nowarn:CS0649,IDE0063,I

How can i draw a cable with touch in Unity (like vacuum cleaner plug cable)

I can drawing line with line renderer. But i want to pull that line with realistic effect like vacuum cleaner cable. video (for 5 sec) I want to connect all the

How to change text by script in Unity

I have a unity project with a text field and I want to change it to something else by clicking a button. Like javscript ids. Can someone help me?

Unable to start Oculus in Unity Editor

Hi everyone) I can't see the oculu's rotations in unity editor when press play button. No errors((( Unity - 2019.4.37f1 Oculus XR Plugin - 1.12.0 (try 1.11.2)

Error on Main Camera in Unity: "The renderer used by this camera doesn't support camera stacking. Only Base camera will render."

I just updated my unity version from 2018 to 2019. Also, I've got a new render pipeline for the 2D lights feature, and there is this weird white flickering when

Image Processing in Python from Unity Hololens Development

So I have an image processing algorithm doing crack detection written in Python and I want to have this work on the Hololens (in Unity). I don't have any experi

Draw a Line on Canvas With Mouse Position Unity 3D

I followed a tutorial to draw a line using mouse position, the line will be drawn inside the canvas. But when running it, the line didn't drawn! and it gives me

Get Unity compass true north heading

I'm currently trying to implement a location-based AR app for Android using Unity C# and ARCore. I have managed to implement an algorithm which gets latitude/lo

How do you multiply a quanternion by a vector3 in unity?

I have this code: private Transform player; // Start is called before the first frame update void Start() { player = Object.FindObjectOfType<PlayerIdenti

Does unrolling a loop affect the accuracy of the computations within?

Summarized question Does unrolling a loop affect the accuracy of the computations performed within the loop? And if so, why? Elaboration and background I am wri

The type or namespace name `PostProcessing' does not exist in the namespace `UnityEngine.Rendering'

Do someone know how to fix this? I got this error after importing Cinemachine from the Unity Asset Store. I'm using Unity 2018.1.0f2 and have no problems with 2

Unity : Cast a gameObject as custom monobehavior class

Is there a way to cast a gameObject as an instance of a monobehavior class? The gameobject has a script component linked with that very class. I have an instanc

Many unwanted animation clips when import from Blender to Unity

I want to export my model from Blender (3.1) to Unity (2021.2). I did some animations but i removed them because i want to create new ones. When exporting to Un