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

Faux Economy?

Hi, I am not sure if this is the correct forum to post this question because I don't think we don't want to set up actual in-app purchases but this forum seems like a logical starting point. If this is...

View Article


Image may be NSFW.
Clik here to view.

H-Trace: Global Illumination and Occlusion

H-Trace: Global Illumination and Occlusion​ H-Trace is a screen-space horizon-based tracing algorithm that calculates global illumination and ambient occlusion in a single pass. Generally speaking,...

View Article


why show error:This is only supported when using .WithoutBurst() and .Run().

Code (CSharp): using System; using Unity.Entities;   [GenerateAuthoringComponent] public class RotateSpeed1 : IComponentData {     public float speed; } Code (CSharp):     protected override void...

View Article

Image may be NSFW.
Clik here to view.

Unity 2021 - Shader Graph not working

I'm in a brand spankin new project in Unity 2021.1.14f1 using 3D Sample Scene URP. I create a new shader graph > blank shader graph -- and the material is magenta/pink showing it's not compiling....

View Article

Useful (?) snippet: serializable interface references

Normally, serialised polymorphic references are only possible through class inheritance. This snippet provides a means by which you can drag and drop persistent, serialisable references to interfaces...

View Article


Why does my script work on one gameobject but not on a duplicate of the same...

I just finished making the portal from Brackeys' video. In order to teleport the player, I use the same script for the two portals. But, for some reason, even tho the two portals are basically exactly...

View Article

Analytics (New) - Disable Analytics for Non-GDPR\CCPA Regions

Hello! I'm just wondering what the correct workflow is for disabling analytics in Non-GDPR/CCPA regions (PIPL excluded) At present it seems there are only two options... 1) Never initialise Unity...

View Article

Has anyone tried visual studio 2022?

I have been hearing news about these by chance, so I am curious. Has anyone actually tried it? Is it any better than 2019? Or still not completely ready to use yet (I.E: still buggy or something).

View Article


Rotate around moving object

Hey guys you know of a cleaner/ better way to make something rotate around a moving object without the objects speed influence the rotating object so that only the position matters and everything else...

View Article


EBUSY: resource busy or locked

Hi there, I have just downloaded 2019.3.5f1 and I wanted to add Entities package to a new project. This is what I have got as an error message in Console: Cannot perform upm operation: EBUSY: resource...

View Article

Error during "Build Gradle Project"

I am still struggling with my Android build and now I get an error during the "Build Gradle Project". I have been trying to google, testing etc. but have not been able to understand how to solve this...

View Article

Layer blending issues with animations from Mixamo

I´ve been developing a pet project of mine for some time and have run into some issues with the animations. I downloaded some basic assets from Mixamo to replace the current "programming art" and as an...

View Article

Why is the new input system so slow?

On a quest 2 game, it's managing to eat up more CPU time than the entire player loop. It's almost as much time spent as the entire rendering pipeline?! What on earth is going on here? How can we...

View Article


Image may be NSFW.
Clik here to view.

Getting Light to show through a force Field

I am trying to understand how to get light to show through a mesh so there is no shadow from it View attachment 1039187 View attachment 1039190

View Article

Keyboard input is not registered when Unity is embedded in a WPF application

Hello! We embed the Unity process into a Windows Forms Panel, which is the child of a WindowsFormsHost, which again is the child of a WPF Grid Control. The Unity process is started with the -parentHWND...

View Article


How to use a templated member in a MonoBehavior?

Hello Community, am developing a special container type which I'd like to control through a MonoBehavior. How can I have a member variable in a monobehavior that has a template parameter? Would like...

View Article

Cancelled called on every move (joystick)

using 1.3, the cancelled event is triggered every time I move the joystick.. happening to anyone else?

View Article


Is there any benefit using Microsoft Visual Studio 2019 over 2022?

When it says add modules Dev Tools the Visual Studio 2019 option Only pops up. My question is Why? isnt the 2022 better?

View Article

Pointing my camera to my instantiated player

Hi Guys, I have a camera thats following my player. It was working when my prefab was in the scene. Now its being instantiated by my game manager. I just cannot work out how to reference it. My player...

View Article

Fog of War & URP

Hello everyone! I'd like to make something like a Fog of War effect. I'm using URP, but my solutions are not exactly what I need. What I tried: 1. Mesh renderer that cut off using radius. It's nice for...

View Article
Browsing all 1466670 articles
Browse latest View live


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