r/UnityHelp • • May 22 '21

2d camera bug

4 Upvotes

My 2d camera keeps doing a horrible and annoying bug. I cant change any values about it and it sets and stays at z axis -219. Why??? Is this a unity bug or a cinemachine bug. Im using unity 2020.3.3


r/UnityHelp • • May 07 '21

Get dropdown.onvaluechanged to check for text ?

4 Upvotes

Can I get onvaluechanged to check for the text content of a dropdown option? Or is it limited to only being able to read the integer value of the dropdown option?

I would like to run an IF function based on the text of a dropdown option instead of using its integer value. So instead of if( value == 0)... it would be if(value == "option A")...

Appreciate any help 🙏


r/UnityHelp • • Apr 16 '21

PROGRAMMING Buttons are Hardcore Apparently? [Bolt, Programming]

4 Upvotes

Hey friends!

tldr: I've been trying to make a button load the Main Menu and no matter what tutorial I follow or the code I use, the clicks just... do not trigger. I've included a video of what's going on to give more context. I'm also happy to answer any questions!

(I'm using Bolt to code and do not plan to use traditional code for this project until I fully understand bolt (baby steps).)

Extra Info: I've just started using Unity a couple of months ago. I picked up Bolt as well to make the project coding faster for someone who knows very little about coding. I mean, I managed to code my own character controller completely from scratch. It's just this simple button feature that is deciding not to work... so I was wondering if anyone here on UnityHelp knew any solutions and is willing to share their ideas.

Any and all help is very much appreciated!

If you need any more info not listed here please ask!

Thank you!


r/UnityHelp • • Apr 15 '21

Texture Maps and Normal Maps

4 Upvotes

This is a node setup in blender to link an image I texture painted to the material for an object. I'm wondering which nodes I would use to do this in unity? (And similarly for normal maps)


r/UnityHelp • • Apr 13 '21

Any understand this??

Post image
4 Upvotes

r/UnityHelp • • Mar 23 '21

Problem with LOD percentage

4 Upvotes

Hi guys so basically I'm having some problem with the LOD percentage show on my objects on the scene and when i hit play. I leave you some photos:

On the first photo the object occupies 53% of the screen


r/UnityHelp • • Feb 20 '21

Unity wont open my projects

4 Upvotes

Ive been working in unity for a while and dicided to get an SSD. When i got it i transfered everything from my other drive to my SSD drive(which is now my new C drive). When i opened unity hub and added my project and clicked on it unity hub just closes and nothing happends...

Edit:I just realized i cant even create new projects


r/UnityHelp • • Feb 03 '21

PROGRAMMING New to Unity - No clue how to make a Respawn and Grappling Hook System

4 Upvotes

I'm new to Unity and C# and I'm trying to make a simple 2D Platformer, but I have 2 issues when doing this, the first being the respawn system. Currently for my player respawning I have a collider at the bottom of the level that teleports the player back to the start when anything touches it, but instead I want to try and make a checkpoint system and I only want it to detect the player.

The other issue I'm having is making the game unique, my idea going into unity was to make a 2D physics based platformer with a grappling hook mechanic similar to the one in LittleBigPlanet 2, but when going into unity I didn't realise how hard for a beginner making a grappling hook was (or maybe I'm overlooking something). If I can't figure out how to make this I plan on leaving the idea but I thought I'd ask on a few forums and sub-reddits for advice. Thank You for reading/commenting.


r/UnityHelp • • Feb 03 '21

My VRChat menu is not appearing on my unity version 2020.2.2f1

4 Upvotes

Hello I have a ready made player model that I was hoping to use for my VrChat.

However I do not have the VRChat menu on top of my unity. Yes I have installed the latest SDK3 Avatars & Worlds.

I do not wish to downgrade my unity because my playermodel becomes pink in the older version (specifically 2018 version)

Please help me out I would really appreciate this!


r/UnityHelp • • Jan 31 '21

PROGRAMMING Please help with the ‘script needs to drive from mono’ error message when I’ve got mono in my script.

Post image
4 Upvotes

r/UnityHelp • • Jan 30 '21

walking problem

4 Upvotes

Hello i have a problem with my script(it's in unity 2018.4 btw), in order to walk i need to spam w to walk, i am fairly new to development and don't know how to make it continuasly walk if held, please tell me what to change(this is only the important part):

void Update()

{

if (Input.GetKeyDown(KeyCode.Space))

{

PlayerRB.AddForce(Vector3.up * JumpForce, ForceMode.Impulse);

}

if (Input.GetKeyDown(KeyCode.W))

{

PlayerRB.AddForce(Vector3.forward * WalkSpeed, ForceMOde.Impulse);

}

if (Input.GetKeyDown(KeyCode.S))

{

PlayerRB.AddForce(Vector3.forward * BackwardsSpeed, ForceMode.Impulse);

}

if (Input.GetKeyDown(KeyCode.A))

{

PlayerRB.AddForce(Vector3.left * StrafeSpeed, ForceMode.Impulse);

}

if (Input.GetKeyDown(KeyCode.D))

{

PlayerRB.AddForce(Vector3.right * StrafeSpeed, ForceMode.Impulse);

}

}

}


r/UnityHelp • • Jan 07 '21

Please if see this please help

4 Upvotes

i follow a tutorial(on 2018.4 and visual studios 2017) where i am learning how to make a top down shooter but have encounter a problem: the tutorial tells me to type a line of code for invoke repeating with a refrence to a method but when i type it unity tells me that i cant use direct refrences to methods


r/UnityHelp • • Jan 06 '21

UNITY Why the error?

4 Upvotes

r/UnityHelp • • Jan 01 '21

Anyone help please

4 Upvotes

Using Unity c#

I’ve been trying to make a NEAT algorithm and I’ve been stuck for days. I just can’t understand how to make it. I know the idea and generally how it’s made( I’ve done neural networks before but not an evolving one), but no matter what I do it just doesn’t seem to work.

To specify, I’m trying make a mutating population play a Flappy Bird game and to progress in it.

Can anyone help please?


r/UnityHelp • • 4d ago

MODELS/MESHES Unity Tree Problem

Thumbnail
gallery
3 Upvotes

I tried to put trees in my world using the paint option, but for some reason, it always turns them, and I tried to turn it in the opposite direction in Blender and Unity, but nothing worked it always faces that way like sunflowers, idk what to do can you guys help? I feel like I am missing something super simple that I just overlooked.


r/UnityHelp • • Oct 28 '26

UNITY Can’t open a single project in a brand new installation of Unity 6.6 (6000.6.7f1) on my computer

Thumbnail
gallery
3 Upvotes

Hello dear community,

i have this problem where i just installed Unity and Unity Hub from the scratch on Windows 11, i want to create and open a new project but every time i try, i got these two errors i just attached to this post, Unity just crashes and can’t open a single thing, the editor just won’t launch. I tried installing older Unity versions but nothing seems to work, i spent 2 hours uninstalling and installing Unity on different drives too, using the main SO drive, etc, nothing seems to work. The other solution i found was trying to modify ProjectSettings.asset and ProjectVersion and downgrade DirectX12 version to DX11 as Cursor AI told me to, but same results with no success, i never did this kind of thing like 4 years ago when i worked on Unity to make some little projects; maybe i’m missing something else now, i really need your help to start coding.

If you need any kind of info i’ll be waiting for your answer and questions, thanks in advance ~


r/UnityHelp • • Oct 23 '26

UNITY Fixed a 10-year-old engine ghost: "Screen position out of view frustum (-nan(ind), -nan(ind))" [Root Cause & 5-Line Fix]

3 Upvotes

Ever had your console randomly spam 50 native red errors on Frame 0 when hitting Play?

> `Screen position out of view frustum (screen pos -nan(ind), -nan(ind))`

It happens once every few hours, leaves no GameObject name in the log, and disappears as soon as you move your mouse. After finding forum posts about this exact line dating back to **September 2014**, we decided to build a forensic interceptor and kill it for good.

### What actually happens:

  1. When entering Play Mode, the Editor tab resize causes a zero-division on Frame 0: `(MousePos - Rect.min) / Scale(0) = NaN`.

  2. The New Input System feeds `(NaN, NaN)` to the mouse.

  3. 2D Canvases (`ScreenSpaceOverlay`) ignore it, but if you have even **one WorldSpace Canvas** in your scene with a `GraphicRaycaster`, it asks the camera to cast a 3D ray through `(NaN, NaN)`.

  4. `Camera.ScreenPointToRay` panics and asserts into the native debug pipe.

### The Fix:

Don't mess with cloning Input Action assets. Just subclass `GraphicRaycaster` on your WorldSpace canvas:

public class SafeGraphicRaycaster : GraphicRaycaster

{

public override void Raycast(PointerEventData eventData, List<RaycastResult> resultAppendList)

{

if (float.IsNaN(eventData.position.x) || float.IsNaN(eventData.position.y)) return;

base.Raycast(eventData, resultAppendList);

}

}

Full Toolkit (Gist):

I uploaded a mini toolkit containing:

  • The Fix (SafeGraphicRaycaster.cs)

  • The Forensic Interceptor (Traps the error at Frame -1, freezes time, and pings the suspect Canvas in your Hierarchy)

  • The Tester (Deterministically forces the bug in 0.01s so you can prove the fix works)

👉 Gist Link: (link)[https://gist.github.com/alexth939/47dea40d7d589f56f4c1c4afcbc96a4b]

May your console forever stay clean. ☕


r/UnityHelp • • Oct 14 '26

Pro subscriber, account suspended today with zero explanation – has anyone actually gotten theirs back?

Thumbnail reddit.com
3 Upvotes

r/UnityHelp • • Oct 12 '26

UNITY Any idea on how I should go over this?

3 Upvotes

When I scale the game view, the distance between orders don't scale with it. I'm kinda stuck on this problem

Any help is welcome!


r/UnityHelp • • Oct 11 '26

Unity Tutorial

3 Upvotes

is there any unity tutorial about basics of lighting and ui and no i dont want a begginer tutorial i want a tutorial specific to lighting and ui


r/UnityHelp • • Oct 09 '26

How would you design racing bots?

3 Upvotes

I'm working on a high-speed hover racing game with jumps, uneven terrain, boost pads and branching tracks.

The player ships use a physics-based controller, but I've been thinking about how to implement bot opponents, and honestly, making bots drive with the exact same physics sounds like a nightmare.

So I'm considering a different approach: a network of connected waypoints, with automatically generated smooth paths between them.

For jumps, I'd define takeoff and landing points and generate a controlled parabolic trajectory instead of relying on physics.

Each bot could choose different routes, have slightly different racing lines, and follow its own speed profile depending on difficulty.

The tricky part would be making them interact with physics-based player ships without feeling like indestructible objects moving on rails.

Has anyone tried something similar in a racing game? Did scripted movement end up looking convincing enough?


r/UnityHelp • • Oct 02 '26

Can ICity Blender addon be used to export a city to Unity for VR Experience

3 Upvotes

Heyy, my team is building a VR experience in Unity 6 and we need city environment for crisis simulations.

I'm looking at the iCity addon for Blender to generate it and export via FBX or glTF.
I've already imported a LOD2 city model (simple untextured buildings) without any issues, but I'm worried iCity's assets will be way too heavy for VR.
Has anyone done this? Mainly wondering:

  • How heavy is the output, does it render fast enough if we stream it via Horizon Link?

  • Do the materials survive export, or do you need to bake/redo them?

  • Does exporting the whole city work, or did you have to split it into chunks?

Any experience or alternative suggestions appreciated!

Additionally:
We need to simulate an explosion in one of the buildings, Would the ICity buildings work for that?

THANKYOUUU!!!!


r/UnityHelp • • Aug 25 '26

Help with Unity Cloth

3 Upvotes

Hi community,

I've been playing with unity cloth sim. I find it only simulate naturally one sided (I think it's the normal facing side), but the other side looks very weird. Any ideas why we have this asymmetry? Ideally, I need a piece of cloth with the same physics property from both sides.

Thanks!


r/UnityHelp • • Jun 26 '26

UNITY How does the endoparasitic game make walls, objects with 3d feel??

Post image
3 Upvotes