About 50 results
  1. How to make the script wait/sleep in a simple way in unity

    In Unity when exiting Play mode and returning to Edit mode you can make use of EditorApplication.playModeStateChanged specifically …

  2. Unity Hub "Install failed: Validation failed" message whenever I try …

    Jul 19, 2023 · The issue is that then when I try to connect Unity to Visual Studio Code, it doesn't fully connect and features like IntelliSense don't work. I suspect this is because I didn't install …

  3. Can't open a project in unity, because it keeps loading infinitely

    Reinstalling Unity and Unity Hub are just desperation steps. Opening a project doesn't modify either installation and if it was corrupted in some way it's unlikely everything but loading your …

  4. How to fix ''Gradle Build Failed'' on Unity? - Stack Overflow

    Oct 30, 2021 · 0 I upgraded the product from unity 2020.3.9f1 to 2022.3.16f1, unchecked everything under the "build" like the custom main manifest. Re importer the admob plugin and …

  5. Unity: Conflict between new InputSystem and old EventSystem

    Nov 26, 2020 · You probably tried to import a new input system package for multiple input devices compatibility. These type of errors are due to conflict between old and new input system …

  6. Unity, rotating a Vector3 along an axis - Stack Overflow

    Dec 22, 2022 · For example, I have a Vector3 and I waant to rotate it relatively Y-axis (Vector3.up). Can I do it using built-in methods, or should I use coordinate geometry and …

  7. c# - Scale GameObject in Unity - Stack Overflow

    Aug 31, 2016 · How can I increase / decrease the size of objects in Unity? Example: public GameObject sprite; public float scale = 2.0f; void ScaleResolution() { sprite = sprite*scale; …

  8. In Unity (C#), why am I getting a ... - Stack Overflow

    Jun 16, 2020 · In Unity (C#), why am I getting a NullReferenceException and how do I fix it? [duplicate] Asked 5 years, 4 months ago Modified 4 years, 6 months ago Viewed 15k times

  9. c# - How to get intellisense in Visual Studio Code for Unity …

    Sep 5, 2018 · In Unity, click Window, then Package Manager, then look for Visual Studio Code Editor. Expand it by pressing triangle, and upgrade to the latest version (for me, it was 1.2.0.

  10. What Language is Used To Develop Using Unity - Stack Overflow

    Feb 14, 2011 · What language does one need to use when programming with Unity? Or is it an API for many languages? I read through the docs and I guess I missed the point on the …