Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
56 views

Issues detecting collision on a Unity Game Object on my mobile game, OnCollisionEnter2d(),

I'm testing my mobile game for iPhone users where you have to throw a fork to another game object. Now these fork game objects are on a List which I'm spawning a total of 8 forks on the scene but you ...
Amaury C.'s user avatar
0 votes
0 answers
64 views

Make objects move along a drawn path (C++)

I'm programming a game that have a feature allowing player to draw a path. And that path will be used to navigate object to move on it. I'm having a problem with the speed of the object. If players ...
Phạm Triều Dương's user avatar
-1 votes
1 answer
329 views

Solution to 'Type Mismatch' error stopping me from assigning a GameObject to a prefab in Unity

Whenever I try to assign a GameObject or TMP Text Box to a prefab's public variable, I get an error message that says, "Type Mismatch". The variable is a list (used to be array) and I am not ...
VINCENT SMITH's user avatar
0 votes
1 answer
35 views

How to count gameObject on screen that was Instantiated

I want the player to have a limited amount of bombs that can be placed at a given time. I was able to limit the bombs, but when the gameObject is destroyed, I'm not sure how to change my bombCount ...
Vince's user avatar
  • 2,656
0 votes
0 answers
201 views

Unity Textmesh Pro is blurry/pixelated

I am new to Unity and I'm having trouble with the text in my project. The text appears very pixelated, and I can't figure out why. Here is an example of how it looks: I started a new 2D project, ...
Deniz Böttcher's user avatar
0 votes
0 answers
65 views

Is there a way to add a reference to a gameobject during gametime?

I'm trying to make a game where you can make custom projectiles with various components that have special properties (like poison, explosions, anti-gravity, mind control). Then you would be able to ...
Big Glasses's user avatar
0 votes
1 answer
49 views

The Instantiate function for my gun script in Unity is instantiating the bullets as though they were child objects

My gun script Instantiates the bullets as though they were child objects of the gun which causes the bullets to move whenever my gun is moved. I had been testing the shooting ability of my gun by ...
Big Glasses's user avatar
0 votes
0 answers
41 views

Why I can't see my gameobject's prefab game object in unity in scene view?

As You Can See Here indeed it has materials and other needed things to see it but unfortunately you can't. In This image I selected chassis so you could see any problems in inspector if there are some
Qtbdin faiz's user avatar
1 vote
1 answer
178 views

in Unity 2022.3, why do my object instantiation times spike ever so often?

So I'm currently creating a game with procedural world generation. Therefore I am loading and unloading big chunks of world data quite often. The process goes as follows: Step 1: Upon loading a chunk, ...
Obarmer's user avatar
  • 11
0 votes
1 answer
78 views

Moving sphere to a 2D waypoint on terrain in a 3D space Unity

Im trying to create an animation using Unity3D where I have a world which is created by converting a heightmap into a terrain. Using a python program I am calculating a route for this sphere and am ...
Xerrum's user avatar
  • 11
-1 votes
2 answers
228 views

In Unity why cant I append this game object to an array. Error: ArgumentNullException: Value cannot be null. Parameter name: source [duplicate]

Here is the code being use: private void start() { for (int i = 0; i < 5; i++) { GameObject card = Instantiate(deck[i], playersHandContent.transform); card.GetComponent<...
Logun Tetley's user avatar
-1 votes
1 answer
201 views

unity gameobject invisible in hololens 2

I just created a simple unity project and deployed it to HoloLens 2, the splashed mesh appeared and I was asked to confirm the rights, but after that nothing appeared, I only see the pointers, my ...
RSyan's user avatar
  • 1
0 votes
0 answers
83 views

Why doesnt 'Instantiate' not exist according to Unit

I'm encountering an issue in my Unity script where the Instantiate method is not being recognized. I'm trying to instantiate a projectile in a ranged attack state, but I'm getting the following error: ...
Raph's user avatar
  • 1
0 votes
1 answer
6k views

moving pivot point of an object in unity

This is the object I am trying to move the pivot of: I am currently trying to move the pivot point of this object to the center, since i need it to be centered there for a script i am making, does ...
Hayden Phillips's user avatar
-1 votes
1 answer
32 views

Unity eventtrigger for a flipped gameobject

So I have "n" number of child gameobjects that are sorted by the parents horizontal layout component. These child gameobjects are cards, they have a front and a backside represented with ...
ChrisCross 's user avatar

15 30 50 per page
1
2 3 4 5
48