Category "unity3d"

Performance of calling gameObject.SetActive(true) when game object is already active?

Is there any performance concern around calling MyAlreadyActiveGameObject.SetActive(true) a ton, e.g., once per frame? Put another way, is it ever worth pullin

Unity fails to build due to IL2CPP

I made a archive of Unity for New 3DS, trying to use it myself tho it appears to give these errors even tho i have IL2CPP installed SETUP: Unity - 5.6.5f1 (New3

How do i solve "Undefined symbols for architecture arm64" error?

I used the latest version of the AdMob plugin & unity Mediation plugin. but I still get this error, How do I solve the "Undefined symbols for architecture a

In Unity UIElements, what is the equivalent to 'Scale with ScreenSize' of UGUI Canvas Scaler?

If I want to make my UI gameobjects stay the same size and position on all devices when I use UGUI in Unity3D, I simply set UI Scale Mode to Scale with Screen S

How can I access the Unity 'Light 2D (Script)' component via Script?

In my Unity 2D game, I have a character with a lightsource component 'Light 2D(Script)' from the Lightweight RP package. I want to change the intensity of the

Unity Instantiate bug

I’ve created a script that should spawn enemies in some time, and it works perfectly. However, for some reason it shows errors, even then it spawns enemie

Build - il2cpp did not run properly

I'm using unity 2019.2.0f1 with the integrating jdk-sdk and ndk recommended by unity to build a game for android platform first i build successfully my project

2D Player Shaking When Platforms Move Up and Down?

For some reason, my player character shakes up and down when the platform moves up and down, which prevents the player from jumping because the player is not gr

Unity C# error: (12,47): error CS1503: Argument 2: cannot convert from 'System.Collections.Generic.List<UnityEngine.GameObject>' to 'float'

I'm new to programming in general. With another Script i store in the list "spawnPointC" all gameobjects called spawnPointC that appear from spawning other pref

Unity Build Error: Missing 'package' key attribute on element package at [:arcore_client:] AndroidManifest.xml:30:9-54

i am using ARFoundation 4.1.0 preview package and in XR plug-in management in unity project settings i have enabled the Arcore but the problem is when i build i

Unity Build Error: Missing 'package' key attribute on element package at [:arcore_client:] AndroidManifest.xml:30:9-54

i am using ARFoundation 4.1.0 preview package and in XR plug-in management in unity project settings i have enabled the Arcore but the problem is when i build i

Unity "Multiple precompiled assemblies with the same name" using external dll

I have a "Shared" project where I share code between my client (unity) and my server (C# server) Both projects require Newtonsoft.Json.dll When I compile the Sh

Too bright scene when using HDRP in Unity [closed]

Strong glow on stage in unity hdrp, how to remove it?

How to stop host or client in unity netcode?

When I disconnect my server and go to the menu scene, there comes two NetworkManager Objects but a they are implementing the Singleton pattern and it in itself

Unity don't load images inside the engine

image 1 Image 2 not even an image inside the engine loads, does anyone know what it could be?

move an object towards a target but in a sine wave

unity2d and by ship I mean spaceship. so I have my ship which I want to move to a specific target, but I want it to be in a sin wave so it bounces up and down,

Unity Metal: Compute shader has 1024 threads in a thread group which is more than the supported max of 512 in this device

I'm compiling a code for unity ios build and keep getting the following error Metal: Compute shader has 1024 threads in a thread group which is more than the s

How can I make Firebase analytics COPPA compliant using Unity?

How do I make Firebase Analytics COPPA compliant for Unity plugin?

My "Attach to Unity" button replaced by "Start" in my Unity project using VS

I'm pretty sure that this must be easy for someone that have experience with VS and Unity, but I couldn't find a solution on Google. I probably typed some short

Scores not updated when collided the second time

Im having problem with an endless runner game. The scores are not updating after the first object collided. The script is attached to a prefab object. After the