Quantcast
Channel: Unity Forum
Browsing all 1466670 articles
Browse latest View live

CharacterController.IsGrounded Not Working

Code (CSharp): using UnityEngine;   public class CharacterLocomotion : MonoBehaviour {     private CharacterController controller;       private Animator animator;     private Vector2 input;...

View Article


Serialization errors in WebGL build

Hello, I'm trying to use the UI Toolkit, just some very basic stuff, 1 UIDocument with 1 Scroll Panel, with several buttons inside it, no custom external style, all the styles for elements are...

View Article


Editor: Play/Stop Iteration Incurs Reload Script Assemblies & Importing...

I haven't tinkered with Unity in a while but I don't remember the iteration loop in editor requiring a 2-3 second delay before starting, even on an empty scene? It's even worse on my actual game scenes...

View Article

ScriptableObjects: I make lists, should i?

I'm creating a database of items for my game. ScriptableObjects are great for that. Now with some other systems, that touch the handling of items, i happen to require a list of all items i created as...

View Article

transform.localRotation on wheels for a tank

Hello! I downloaded unity yesterday for a school project and I am completly new to this type of development. I have a tank model with 8 wheels on each side. These are children to the tank body that is...

View Article


Shmup Boss Support Thread

This is the support thread for Shmup Boss (AKA Shmup Baby 2) If you are a user of the first version (AKA Shmup Baby), this post also contains information regarding the changes to expect between the two...

View Article

Better automatic navigation algorithm?

I'm wiring up a UI-heavy game for controller navigation using Unity's EventSystem. The Automatic Navigation is great, when it works, which is about half the time. Common failures: - two objects are...

View Article

Additive Load Scene Async is too demanding; how do I fix?

I'm working on getting my game to stream in all my content seamlessly. I'm testing some triggers to call SceneManager.LoadSceneAsync to add my next scene into the game, but the process drops way too...

View Article


HDRP - Empty Scene Performance Problem (30ms CPU)

I have just downloaded the 2021LTS to give it a shot, and I started a new HDRP scene, without any changes to the settings. Added a couple of cubes and tried running the game at 4K , and I get over 30MS...

View Article


Best format for 3D Models

what format is better to export from blender to unity ? View attachment 1039832

View Article

How do I detect if a scene name is valid?

I'm setting up scripts to load scenes in the background. I want my loading script to verify that the scene it needs to load is valid in the start function rather than waiting until I try to load the...

View Article

How to bind a DropdownField?

Hi, I'm currently working on a custom PropertyDrawer to create a dropdown field. The issue I'm having is that DropdownField has no BindProperty method. What would be the correct way to bind a...

View Article

Radio PRO - MP3 and OGG-streaming solution

Radio Have you ever wanted to implement radio stations but don't want (or can't) pay an horrendous amount of money? Whenever you like to provide good sound from famous artists for your games or apps,...

View Article


ISystemStateComponentData not added inside of subscene conversion?

0.50, I have a component implementing ISystemStateComponentData, however it only gets added when outside of a subscene. Is this a bug or intended?

View Article

[Solved] Copy vector3 values to another vector3?

I want to copy vector3 values to another vector3. Also, use float on other case. Code (CSharp): float aa,ss,dd; Vector3 ls,ToPoint; bool StandPoint_bool;       void update {       if (StandPoint_bool...

View Article


ARCore based app using api level 31 does not start on Android 12

Ar-vos (https://ar-vos.com), my Unity - ARCore - based app does not start on Android-12 when using api level 31. On my Android-12 devices the app displays the Unity splash screen and then turns black....

View Article

Custom ShaderGraph shader in skybox breaks single pass instanced rendering

Running a plain vanilla project in Unity 2020.3.0f1 with URP version 10.3.2. I created a simple gradient shader in shadergraph and set it as the skybox material in the example scene. Here's the shader:...

View Article


Unsubscribing Event NullReferenceException

I just started to experiment with events. This error sometimes happens when I exit play mode in the editor. NullReferenceException: Object reference not set to an instance of an object...

View Article

[Worker0] Trying to get RenderBuffer with invalid antiAliasing (must be at...

Unity URP api 12.1.1 2021.2.3 i also found a few old threads from 2018 about this subject seams it may have returned in 2021.2.3 this error happen when i was exporting a few new prefabs for the new 12x...

View Article

[Released] External Game View - improve your productivity

View attachment 1032518 External Game View Version 1.1.0 - Released 4 April 2022 This is a workflow extension for the Unity editor which allows seamless powerful control of rendering content to...

View Article
Browsing all 1466670 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>