About 358,000 results
Open links in new tab
  1. 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 …

  2. 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 …

  3. Use Unity API from another Thread or call a function in the main …

    Jan 2, 2020 · Unity is not Thread safe, so they decided to make it impossible to call their API from another Thread by adding a mechanism to throw an exception when its API is used from …

  4. Unity UI button not reacting to clicks or hovering

    30 I'm using Unity 3D's new UI system to build a pause menu for my game. Currently I'm trying to have my buttons respond to mouse clicks. Some of my hierarchy is as follows: When I click on …

  5. 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; …

  6. In Unity, how can I pass values from one script to another?

    Dec 15, 2012 · 31 In Unity, I want one object to have a falling speed variable that all the other objects can access. For various reasons, I can't use the inbuilt gravity for what I'm trying to do. …

  7. Cannot finish the game in Unity using Application.Quit()

    Dec 21, 2021 · You can quit a game in Unity by calling the Application.Quit function, which will close a running application. However, while this works to end a built application, Application …

  8. How to make an enum-like Unity inspector drop-down menu from …

    I'm making a Unity C# script that is meant to be used by other people as a character dialog tool to write out conversations between multiple game characters. I have a DialogueElement class …

  9. How to pass data (and references) between scenes in Unity

    Unity will always destroy its Object even if they are declared with the static keyword. See #2 for a workaround. 2.Use the DontDestroyOnLoad function. You only need to use this if the data to …

  10. Unity - stop animation loop - Stack Overflow

    Aug 30, 2015 · How can I stop make unity continuous looping what I have done 1- I add animator to my object. 2- I create animator controller 3- I create my animation 4- finally link my …