About 50 results
Open links in new tab
  1. Unity Hub "Install failed: Validation failed" message whenever I try to ...

    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 from Unity …

  2. How to make the script wait/sleep in a simple way in unity

    There are many ways to wait in Unity. They are really simple but I think it's worth covering most ways to do it: 1.With a coroutine and WaitForSeconds. This is by far the simplest way. Put all the code that …

  3. 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 language used. It …

  4. 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 packages …

  5. Newest 'unity-game-engine' Questions - Stack Overflow

    4 days ago · Unity XR: Prevent grabbed objects from passing through each other (hard boundaries while grabbed) [closed] I’m building a VR game in Unity (Quest 3, XR Interaction Toolkit / Meta MR …

  6. c# - Why should I use SerializeField? - Stack Overflow

    Nov 7, 2018 · Why and when should I use [SerializeField]? Using the SerializeField attribute causes Unity to serialize any private variable. This doesn't apply to static variables and properties in C#. You …

  7. How to display a private field in the Unity Inspector as read-only

    Sep 9, 2024 · I’m working on a Unity project and I have a private field in one of my scripts that I’d like to display in the Unity Inspector. However, I want to ensure that this field is read-only and cannot be …

  8. Customizing .csproj in Unity enable nullable reference types

    Oct 6, 2020 · The default way to opt in to this language feature is to put <Nullable>enable</Nullable> in your .csproj file, but Unity regenerates .csproj and removes this line every time it compiles. Is there a …

  9. Unity - how to make material double sided - Stack Overflow

    Search for the issue gives a number of solutions, but they don't work for some reason in mine Unity3D 5.4. Like camera inside a sphere I do not see cull and/or sides in material in Unity editor. ...

  10. Rotate object in Unity 3D - Stack Overflow

    transform.rotation = Quaternion.LookRotation(Input.acceleration.normalized, Vector3.up); But i would like to rotate object like for example screen is rotating - 0, 90, 180 and 360 degrees. How can I do it …